14 lines
No EOL
454 B
Batchfile
14 lines
No EOL
454 B
Batchfile
@echo off
|
|
set "PathUser="
|
|
for /F "skip=2 tokens=1,2*" %%G in ('%SystemRoot%\System32\reg.exe query "HKCU\Environment" /v "Path" 2^>nul') do if /I "%%G" == "Path" (
|
|
if /I "%%H" == "REG_EXPAND_SZ" (set "PathExpand=1" & set "PathUser=%%I") else if /I "%%H" == "REG_SZ" set "PathUser=%%I"
|
|
)
|
|
PATH=%PathUser%
|
|
|
|
SET BuildData > build_data.conf
|
|
|
|
|
|
SET BUILDER=%~dp0
|
|
cd "%BUILDER%..\..\.."
|
|
echo "===> Build Project Path: %cd%"
|
|
dart run "./bin/main.dart" exe -j |