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:
openssl
ninja
nasm
gettext
curl
unzip
tree
mingw-w64-x86_64-boost
mingw-w64-x86_64-wxWidgets
mingw-w64-x86_64-cmake
......@@ -27,9 +31,24 @@ jobs:
mingw-w64-x86_64-ffms2
mingw-w64-x86_64-glib2
mingw-w64-x86_64-python-pip
- name: CI-Build
- name: Install Meson
run: |
MSYSTEM= pip install meson
- name: Build Aegisub
run: |
MSYSTEM= meson builddir -Ddefault_library=static
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
......@@ -76,18 +76,20 @@ begin
CurStepChangedMigration(CurStep);
if CurStep = ssPostInstall then
begin
if IsTaskSelected('checkforupdates') then
Updates := 'true'
else
Updates := 'false';
begin
if IsTaskSelected('checkforupdates') then
Updates := 'true';
else
Updates := 'false';
endif;
SaveStringToFile(
ExpandConstant('{app}\installer_config.json'),
FmtMessage('{"App": {"Auto": {"Check For Updates": %1}, "First Start": false, "Language": "%2"}}', [
Updates,
ExpandConstant('{language}')]),
False);
end;
SaveStringToFile(
ExpandConstant('{app}\installer_config.json'),
FmtMessage('{"App": {"Auto": {"Check For Updates": %1}, "First Start": false, "Language": "%2"}}', [
Updates,
ExpandConstant('{language}')]),
False);
end;
endif;
end;
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter