diff --git a/assets/script/batch/build.bat b/assets/script/batch/build.bat index 655bb52..630186b 100644 --- a/assets/script/batch/build.bat +++ b/assets/script/batch/build.bat @@ -1,7 +1,8 @@ -set BUILDER=%1 - PATH=%PATH_WIN% SET BuildData > build_data.conf -dart run "%BUILDER%/bin/main.dart" exe -j \ No newline at end of file +SET BUILDER=%~dp0 +echo %BUILDER:~0,-1% +cd "%BUILDER%/../../." +: dart run "./bin/main.dart" exe -j \ No newline at end of file