mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Created release.yml - action file for automated release on push.
This commit is contained in:
15
scripts/build.ps1
Normal file
15
scripts/build.ps1
Normal 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."
|
@@ -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
|
||||
|
Reference in New Issue
Block a user