Added Shinku
Added Shinku and her items to the mappings files
This commit is contained in:
parent
3b10eb3549
commit
5bbebfad84
10 changed files with 64 additions and 46 deletions
35
tools/build-windows.cmd
Normal file
35
tools/build-windows.cmd
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
cd /d "%~dp0\.."
|
||||
|
||||
set "PYTHON=.venv\Scripts\python.exe"
|
||||
if not exist "%PYTHON%" (
|
||||
python -m venv .venv
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
)
|
||||
|
||||
"%PYTHON%" -m pip install --upgrade pip
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
|
||||
"%PYTHON%" -m pip install -e ".[build]"
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
|
||||
"%PYTHON%" -m PyInstaller --clean --noconfirm "packaging\NTE History Exporter.spec"
|
||||
if errorlevel 1 (
|
||||
echo PyInstaller failed.
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
||||
set "EXE=%CD%\dist\nte-history-exporter.exe"
|
||||
if not exist "%EXE%" (
|
||||
echo Expected build output was not created: %EXE%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Built %EXE%
|
||||
"%EXE%" --help
|
||||
if errorlevel 1 (
|
||||
echo Built executable smoke test failed.
|
||||
exit /b %errorlevel%
|
||||
)
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
Set-Location (Split-Path -Parent $PSScriptRoot)
|
||||
|
||||
$python = Join-Path $PWD '.venv\Scripts\python.exe'
|
||||
if (-not (Test-Path $python)) {
|
||||
python -m venv .venv
|
||||
}
|
||||
|
||||
& $python -m pip install --upgrade pip
|
||||
& $python -m pip install -e '.[build]'
|
||||
|
||||
& $python -m PyInstaller --clean --noconfirm 'packaging\NTE History Exporter.spec'
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "PyInstaller failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
|
||||
$exe = Join-Path $PWD 'dist\nte-history-exporter.exe'
|
||||
if (-not (Test-Path $exe)) {
|
||||
throw "Expected build output was not created: $exe"
|
||||
}
|
||||
|
||||
Write-Host "Built $exe"
|
||||
& $exe --help
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Built executable smoke test failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue