juc500 정상동작
This commit is contained in:
@@ -37,7 +37,13 @@ if not exist ".venv-build-win\Scripts\python.exe" (
|
||||
%PY% -m venv .venv-build-win
|
||||
)
|
||||
call .venv-build-win\Scripts\activate.bat
|
||||
python -m pip install -q -U pip pyinstaller pyusb
|
||||
python -m pip install -q -U pip pyinstaller
|
||||
if exist "vendor\wheels" (
|
||||
echo ==^> Runtime deps from vendor\wheels
|
||||
python -m pip install -q --no-index --find-links=vendor\wheels -r requirements.txt || exit /b 1
|
||||
) else (
|
||||
python -m pip install -q pyusb pynput six || exit /b 1
|
||||
)
|
||||
|
||||
echo ==^> PyInstaller onedir
|
||||
if exist build\juc500-windows rmdir /s /q build\juc500-windows 2>nul
|
||||
@@ -87,6 +93,11 @@ if defined ISCC (
|
||||
echo portable zip / JUC500-portable.exe 는 생성되었습니다.
|
||||
)
|
||||
|
||||
echo ==^> SHA-256 checksums
|
||||
powershell -NoProfile -Command ^
|
||||
"$files = Get-ChildItem 'dist-windows' -File | Where-Object { $_.Name -in @('JUC500-Setup-win64.exe','JUC500-portable.exe','JUC500-win64-portable.zip') }; if (-not $files) { throw 'No Windows artifacts found' }; $lines = $files | Sort-Object Name | ForEach-Object { $h = (Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower(); $h + ' ' + $_.Name }; [IO.File]::WriteAllText((Join-Path $PWD 'dist-windows\SHA256SUMS.txt'), (($lines -join [char]10) + [char]10), [Text.Encoding]::ASCII)"
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
echo.
|
||||
echo ============================================
|
||||
echo 완료
|
||||
|
||||
Reference in New Issue
Block a user