Skip to content

Commit

Permalink
Bumped version to 1.2.
Browse files Browse the repository at this point in the history
Added automated release script.
  • Loading branch information
k4zmu2a committed Dec 19, 2021
1 parent 53b2399 commit ed0ef90
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CompileAndPackage.ps1
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion SpaceCadetPinball/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ed0ef90

Please sign in to comment.