File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- Write-Host " 正在编译 main.py..."
1+ Write-Host " Compiling main.py..."
22nuitka .\main.py -- mode= onefile
33
44if ($LASTEXITCODE -ne 0 ) {
5- Write-Host " Nuitka编译失败! "
5+ Write-Host " Nuitka compilation failed! "
66 exit
77}
88
9- Write-Host " 正在提取可执行文件 ..."
9+ Write-Host " Extracting executable ..."
1010.\nuitka-extractor.exe .\main.exe
1111
1212if ($LASTEXITCODE -ne 0 ) {
13- Write-Host " 提取器执行失败! "
13+ Write-Host " Extractor execution failed! "
1414 exit
1515}
1616
17- Write-Host " 正在复制文件 ..."
17+ Write-Host " Copying files ..."
1818Copy-Item ..\boot.exe main.exe_extracted\boot.exe
1919Copy-Item .\main.exe main.exe_extracted\main.exe
2020
2121Set-Location main.exe_extracted
22- Write-Host " 启动应用程序 ..."
22+ Write-Host " Launching application ..."
2323.\boot.exe main.exe
You can’t perform that action at this time.
0 commit comments