Skip to content

Commit ded489a

Browse files
author
Steven
committed
chore: update test script
1 parent e5d05d7 commit ded489a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
Write-Host "正在编译 main.py..."
1+
Write-Host "Compiling main.py..."
22
nuitka .\main.py --mode=onefile
33

44
if ($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

1212
if ($LASTEXITCODE -ne 0) {
13-
Write-Host "提取器执行失败!"
13+
Write-Host "Extractor execution failed!"
1414
exit
1515
}
1616

17-
Write-Host "正在复制文件..."
17+
Write-Host "Copying files..."
1818
Copy-Item ..\boot.exe main.exe_extracted\boot.exe
1919
Copy-Item .\main.exe main.exe_extracted\main.exe
2020

2121
Set-Location main.exe_extracted
22-
Write-Host "启动应用程序..."
22+
Write-Host "Launching application..."
2323
.\boot.exe main.exe

0 commit comments

Comments
 (0)