경로 수정
This commit is contained in:
parent
3d1bac26be
commit
960e6b766c
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue