update path

This commit is contained in:
leedongmyung 2025-01-05 07:28:17 +09:00
parent 37a9608b8d
commit de2f91afb8

View file

@ -4,6 +4,7 @@ import 'dart:async';
import 'package:dart_framework/utils/path.dart';
import 'package:dart_framework/utils/system_util.dart';
import 'package:dart_framework/platform/process.dart';
import 'package:path/path.dart' as path;
class OSStartup {
static _Startup? _instance;
@ -317,8 +318,7 @@ Exit
''';
String getScriptPath(String label) {
var debugPath = isDebug ? '.debug' : '';
return '${dataPath.replaceAll('/', '\\')}$debugPath\\$label.ps1';
return path.join(dataPath.replaceAll('/', '\\'), 'startup', '$label.ps1');
}
@override