1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

installer: light modernization

I have no idea whether this actually works on Win11 ARM, but we might as well let people install it until proven otherwise.
This commit is contained in:
Ryan Lucia 2024-12-18 13:00:09 -08:00
parent 2080ed75e9
commit 35d67a2c51
4 changed files with 33 additions and 11 deletions

16
packages/README.md Normal file
View File

@ -0,0 +1,16 @@
# Packaging
## Windows installer
Prerequisites:
1. 7zip (7z.exe on your PATH)
2. Moonscript (moonc.exe on your PATH)
3. Gettext (installing from https://mlocati.github.io/articles/gettext-iconv-windows.html seems to be the easiest option)
4. InnoSetup (needs to be a recent version, iscc.exe on your PATH which does not happen by default on installs)
If these are all available before you built aegisub, running `ninja win-installer` should download and build the dependencies, then create the installer.
## MacOS
TODO

View File

@ -7,8 +7,8 @@
AppID={{24BC8B57-716C-444F-B46B-A3349B9164C5}
DefaultDirName={commonpf}\Aegisub
PrivilegesRequired=poweruser
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64compatible
ArchitecturesAllowed=x64compatible
#include "fragment_mainprogram.iss"
#include "fragment_associations.iss"

View File

@ -1,17 +1,23 @@
[Types]
Name: "basic"; Description: "Standard installation"
Name: "full"; Description: "Full installation"
Name: "compact"; Description: "Compact installation"
Name: "custom"; Description: "Custom installation"; Flags: iscustom
[Components]
Name: "main"; Description: "Main Files"; Types: full compact custom; Flags: fixed
Name: "macros"; Description: "Automation Scripts"; Types: full
Name: "macros\bundled"; Description: "Bundled macros"; Types: full
Name: "macros\demos"; Description: "Example macros/Demos"; Types: full
Name: "main"; Description: "Main Files"; Types: full compact custom basic; Flags: fixed
Name: "macros"; Description: "Automation Scripts"; Types: full basic
Name: "macros\bundled"; Description: "Bundled macros"; Types: full basic
Name: "macros\demos"; Description: "Example macros/Demos"; Types: full basic
#ifdef DEPCTRL
Name: "macros\modules"; Description: "Modules"; Types: full
Name: "macros\modules\depctrl"; Description: "DependencyControl"; Types: full
Name: "macros\modules\yutils"; Description: "YUtils"; Types: full
Name: "macros\modules\luajson"; Description: "LuaJSON"; Types: full
#endif
Name: "dictionaries"; Description: "Spellcheck Dictionaries"; Types: full
Name: "dictionaries\en_US"; Description: "English (US)"; Types: full
Name: "translations"; Description: "Aegisub Translations"; Types: full
Name: "dictionaries"; Description: "Spellcheck Dictionaries"; Types: full basic
Name: "dictionaries\en_US"; Description: "English (US)"; Types: full basic
Name: "translations"; Description: "Aegisub Translations"; Types: full basic
[Tasks]
Name: "startmenuicon"; Description: "{cm:StartMenuIcon}"; GroupDescription: "{cm:AdditionalIcons}"

View File

@ -11,8 +11,8 @@ AppName=Aegisub
AppVerName=Aegisub {#BUILD_GIT_VERSION_STRING}
AppVersion={#INSTALLER_VERSION}
AppPublisher=Aegisub Team
AppPublisherURL=http://www.aegisub.org/
AppSupportURL=https://github.com/Aegsiub/Aegisub/issues
AppPublisherURL=http://aegisub.org/
AppSupportURL=https://github.com/TypesettingTools/Aegisub/issues
AppCopyright=2005-{#CURRENT_YEAR} The Aegisub Team
VersionInfoVersion={#INSTALLER_VERSION}
DefaultGroupName=Aegisub