Created release.yml - action file for automated release on push.

This commit is contained in:
Abdulqadir Ahmad
2023-12-29 18:10:26 +01:00
parent 701c509cf4
commit 7d66fa0695
3 changed files with 62 additions and 1 deletions

15
scripts/build.ps1 Normal file
View File

@@ -0,0 +1,15 @@
# Build a TW Blue installer.
# Must be called from root of repo
echo "Generating documentation..."
cd doc
python documentation_importer.py
python generator.py
mv documentation ..\src
cd ..
echo "done."
echo "Building binary..."
cd src
python setup.py build
cd ..
echo "done."

View File

@@ -58,7 +58,8 @@ SetOutPath "$INSTDIR"
${If} ${RunningX64}
File /r TWBlue64\*
${Else}
File /r TWBlue\*
messagebox MB_ICONSTOP "Error: This TWBlue installer is only compatible with 64-bit systems. TWBlue does not support 32 bit systems any more."
Quit
${EndIf}
CreateShortCut "$DESKTOP\TWBlue.lnk" "$INSTDIR\TWBlue.exe"
!insertmacro MUI_STARTMENU_WRITE_BEGIN startmenu