update path
This commit is contained in:
parent
37a9608b8d
commit
de2f91afb8
1 changed files with 2 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ import 'dart:async';
|
||||||
import 'package:dart_framework/utils/path.dart';
|
import 'package:dart_framework/utils/path.dart';
|
||||||
import 'package:dart_framework/utils/system_util.dart';
|
import 'package:dart_framework/utils/system_util.dart';
|
||||||
import 'package:dart_framework/platform/process.dart';
|
import 'package:dart_framework/platform/process.dart';
|
||||||
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
class OSStartup {
|
class OSStartup {
|
||||||
static _Startup? _instance;
|
static _Startup? _instance;
|
||||||
|
|
@ -317,8 +318,7 @@ Exit
|
||||||
''';
|
''';
|
||||||
|
|
||||||
String getScriptPath(String label) {
|
String getScriptPath(String label) {
|
||||||
var debugPath = isDebug ? '.debug' : '';
|
return path.join(dataPath.replaceAll('/', '\\'), 'startup', '$label.ps1');
|
||||||
return '${dataPath.replaceAll('/', '\\')}$debugPath\\$label.ps1';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue