1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-25 02:10:19 +01:00

Bumped version to 1.2.

Added automated release script.
This commit is contained in:
Muzychenko Andrey 2021-12-19 14:42:52 +03:00
parent 53b2399687
commit ed0ef9044d
2 changed files with 16 additions and 1 deletions

15
CompileAndPackage.ps1 Normal file
View file

@ -0,0 +1,15 @@
# ARM and Windows XP build tools are optional VS components
msbuild /t:Build /p:Configuration=Release /p:Platform=x86 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=x64 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=ReleaseWinXP /p:Platform=x86 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=ReleaseWinXP /p:Platform=x64 /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=ARM /v:m SpaceCadetPinball.sln
msbuild /t:Build /p:Configuration=Release /p:Platform=ARM64 /v:m SpaceCadetPinball.sln
Compress-Archive -Path ".\Win32\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx86.zip" -Force
Compress-Archive -Path ".\x64\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx64.zip" -Force
Compress-Archive -Path ".\Win32\ReleaseWinXP\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx86WinXp.zip" -Force
Compress-Archive -Path ".\x64\ReleaseWinXP\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballx64WinXp.zip" -Force
Compress-Archive -Path ".\ARM\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballARM.zip" -Force
Compress-Archive -Path ".\ARM64\Release\SpaceCadetPinball.exe" -DestinationPath ".\Export\ReleaseWC\SpaceCadetPinballARM64.zip" -Force

View file

@ -839,7 +839,7 @@ int winmain::a_dialog(HINSTANCE hInstance, HWND hWnd)
PCWSTR appName = pinball::get_rc_Wstring(38, 0);
PWSTR szOtherStuff = pinball::get_rc_Wstring(102, 0);
lstrcatW(szOtherStuff, L" Decompilation version 1.1.2");
lstrcatW(szOtherStuff, L" Decompilation version 1.2");
auto icon = LoadIconW(hInstance, L"ICON_1");
return ShellAboutW(hWnd, appName, szOtherStuff, icon);
}