mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 13:23:41 +00:00
fix: incorrect storage path in linux (#270)
This commit is contained in:
9 files changed
+164
-85
No files matched your search
@@ -37,11 +37,13 @@ Future<void> init() async {
|
||||
});
|
||||
}
|
||||
|
||||
if (!Util.isWeb()) {
|
||||
await Util.initStorageDir();
|
||||
}
|
||||
initLogger();
|
||||
|
||||
final controller = Get.put(AppController());
|
||||
try {
|
||||
if (!Util.isWeb()) {
|
||||
await Util.initStorageDir();
|
||||
}
|
||||
await controller.loadStartConfig();
|
||||
final startCfg = controller.startConfig.value;
|
||||
controller.runningPort.value = await LibgopeedBoot.instance.start(startCfg);
|
||||
|
||||
Reference in new issue
Block a user