Skip to content

Commit

Permalink
Updated desktop app version
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Herzog committed Jun 21, 2024
1 parent 8695015 commit 3faf71b
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
bin
dist
MiniWarteschlangensimulator.exe
MiniWarteschlangensimulator_Linux_MacOS.zip
desktop-app/2_Sign.bat
3 changes: 2 additions & 1 deletion desktop-app/0_Prepare.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ cd ..
call neu.cmd create myapp
mkdir bin
move myapp\bin\*.* bin
rmdir /S /Q myapp
rmdir /S /Q myapp
cd desktop-app
3 changes: 2 additions & 1 deletion desktop-app/1_Test.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cd ..
call neu.cmd run
call neu.cmd run
cd desktop-app
5 changes: 4 additions & 1 deletion desktop-app/2_Build.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
cd ..
del MiniWarteschlangensimulator.exe
del MiniWarteschlangensimulator_Linux_MacOS.zip
call neu.cmd build --release
cd desktop-app
"C:\Program Files (x86)\NSIS\makensis.exe" Launcher.nsi
move MiniWarteschlangensimulator.exe ..
cd ..
rmdir /S /Q dist
move .\dist\MiniWarteschlangensimulator-release.zip MiniWarteschlangensimulator_Linux_MacOS.zip
rmdir /S /Q dist
cd desktop-app
3 changes: 2 additions & 1 deletion desktop-app/3_Clean.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cd ..
rmdir /S /Q bin
rmdir /S /Q .tmp
rmdir /S /Q .tmp
cd desktop-app
7 changes: 4 additions & 3 deletions desktop-app/Launcher.nsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
!define PrgName "MiniWarteschlangensimulator"
!define PrgTempPathName "MiniWarteschlangensimulator"
!define PrgFileName "MiniWarteschlangensimulator"
!define PrgIcon "..\docs\favicon.ico"
!define Copyright "Alexander Herzog"
Expand Down Expand Up @@ -26,13 +27,13 @@ ShowInstDetails nevershow
RequestExecutionLevel user

Section ""
SetOutPath "$TEMP\${PrgName}"
SetOutPath "$TEMP\${PrgTempPathName}"

File "..\dist\MiniWarteschlangensimulator\MiniWarteschlangensimulator-win_x64.exe"
File "..\dist\MiniWarteschlangensimulator\resources.neu"
; File "..\dist\MiniWarteschlangensimulator\WebView2Loader.dll"

ExecWait "$TEMP\${PrgName}\MiniWarteschlangensimulator-win_x64.exe"
ExecWait "$TEMP\${PrgTempPathName}\MiniWarteschlangensimulator-win_x64.exe"

RmDir /r "$TEMP\${PrgName}"
RmDir /r "$TEMP\${PrgTempPathName}"
SectionEnd
2 changes: 1 addition & 1 deletion docs/libs/neutralino.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions neutralino.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"app.*",
"os.*",
"filesystem.*",
"window.*",
"window.*",
"debug.log"
],
"modes": {
Expand All @@ -44,7 +44,7 @@
"binaryName": "MiniWarteschlangensimulator",
"resourcesPath": "/docs/",
"clientLibrary": "docs/libs/neutralino.js",
"binaryVersion": "4.14.1",
"clientVersion": "3.8.0"
"binaryVersion": "5.0.0",
"clientVersion": "5.0.1"
}
}

0 comments on commit 3faf71b

Please sign in to comment.