Skip to content
Extraits de code Groupes Projets
Valider 4688813b rédigé par odrling's avatar odrling
Parcourir les fichiers

Add installer generation

parent 7c7c6ce1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -19,6 +19,10 @@ jobs: ...@@ -19,6 +19,10 @@ jobs:
openssl openssl
ninja ninja
nasm nasm
gettext
curl
unzip
tree
mingw-w64-x86_64-boost mingw-w64-x86_64-boost
mingw-w64-x86_64-wxWidgets mingw-w64-x86_64-wxWidgets
mingw-w64-x86_64-cmake mingw-w64-x86_64-cmake
...@@ -27,9 +31,24 @@ jobs: ...@@ -27,9 +31,24 @@ jobs:
mingw-w64-x86_64-ffms2 mingw-w64-x86_64-ffms2
mingw-w64-x86_64-glib2 mingw-w64-x86_64-glib2
mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-pip
- name: CI-Build
- name: Install Meson
run: | run: |
MSYSTEM= pip install meson MSYSTEM= pip install meson
- name: Build Aegisub
run: |
MSYSTEM= meson builddir -Ddefault_library=static MSYSTEM= meson builddir -Ddefault_library=static
ninja -C builddir ninja -C builddir
- name: Create installer
run: |
tree
curl -o "aegisub-codecs.zip" https://mugen.karaokes.moe/downloads/aegisub-codecs.zip
for i in po/*.po; do
msgfmt -o $(basename $i .po).mo $i
done
cd packages/win_installer
curl -o "innosetup.zip" https://hikari.butaishoujo.moe/b/52a01bb4/innosetup.zip
unzip innosetup.zip
innosetup/ISCC.exe aegisub3.iss
...@@ -78,9 +78,10 @@ begin ...@@ -78,9 +78,10 @@ begin
if CurStep = ssPostInstall then if CurStep = ssPostInstall then
begin begin
if IsTaskSelected('checkforupdates') then if IsTaskSelected('checkforupdates') then
Updates := 'true' Updates := 'true';
else else
Updates := 'false'; Updates := 'false';
endif;
SaveStringToFile( SaveStringToFile(
ExpandConstant('{app}\installer_config.json'), ExpandConstant('{app}\installer_config.json'),
...@@ -89,5 +90,6 @@ begin ...@@ -89,5 +90,6 @@ begin
ExpandConstant('{language}')]), ExpandConstant('{language}')]),
False); False);
end; end;
endif;
end; end;
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter