Compare commits
No commits in common. "1572244346eebf2b8c2f47c9eac40066554e1c07" and "1c40a5e418022793e27fe0f7fd7970b64bc0a75f" have entirely different histories.
1572244346
...
1c40a5e418
|
@ -1,4 +1,4 @@
|
||||||
# Navpoint Desktop v0.10dev
|
# Navpoint Desktop
|
||||||
|
|
||||||
[Navpoint](https://git.kj7rrv.com/kj7rrv/navpoint) makes the user's current
|
[Navpoint](https://git.kj7rrv.com/kj7rrv/navpoint) makes the user's current
|
||||||
location available in KML format over a local HTTP server (listening on
|
location available in KML format over a local HTTP server (listening on
|
||||||
|
|
4
build-windows.bat
Executable file
4
build-windows.bat
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
pyinstaller -i=icon.ico --windowed --onefile --hidden-import tornado.web --add-data icon.ico:files --add-data README.md:files --add-data GPL-3.0.txt:files --add-data CC-BY-SA-4.0.txt:files --name=navpoint.exe main.py
|
||||||
|
"C:\Program Files (x86)\NSIS\makensis.exe" .\windows_installer.nsi
|
||||||
|
move "dist\navpoint.exe" "dist\navpoint-windows-%PROCESSOR_ARCHITECTURE%-portable.exe"
|
||||||
|
move "dist\NavpointInstaller.exe" "dist\navpoint-windows-%PROCESSOR_ARCHITECTURE%-installer.exe"
|
|
@ -1,11 +0,0 @@
|
||||||
pyinstaller --icon "icon.ico" --windowed --onefile --hidden-import "tornado.web" --add-data "icon.ico:files" --add-data "README.md:files" --add-data "GPL-3.0.txt:files" --add-data "CC-BY-SA-4.0.txt:files" --name "navpoint.exe" "main.py"
|
|
||||||
& "C:\Program Files (x86)\NSIS\makensis.exe" ".\windows_installer.nsi"
|
|
||||||
|
|
||||||
$version = (Get-Content -Path README.md -TotalCount 1).Split()[3]
|
|
||||||
|
|
||||||
$distName = "navpoint-$version-windows-$env:PROCESSOR_ARCHITECTURE"
|
|
||||||
|
|
||||||
Remove-Item -Path "dist\$distName-*"
|
|
||||||
|
|
||||||
Move-Item -Path "dist\navpoint.exe" -Destination "dist\$distName-portable.exe"
|
|
||||||
Move-Item -Path "dist\NavpointInstaller.exe" -Destination "dist\$distName-installer.exe"
|
|
Loading…
Reference in New Issue
Block a user