경로 수정

This commit is contained in:
Toki 2024-12-25 16:55:52 +09:00
parent 3d1bac26be
commit 960e6b766c

View file

@ -20,7 +20,7 @@ import 'package:path/path.dart' as path;
class SchedulerManager {
static String get schedulerPath {
var debugPath = isDebug ? '/debug' : '';
var debugPath = isDebug ? '.debug' : '';
return '$dataPath$debugPath/scheduler';
}
@ -182,7 +182,7 @@ class SchedulerManager {
}
param.add('scheduler');
param.add('-s');
await OSStartup.registStartup(executablePath, startupID, arguments: param);
await OSStartup.registStartup(Platform.resolvedExecutable, startupID, arguments: param);
}
return simpleFuture;
}