- Gate MPRIS, tray (zbus/ksni) and the unix-socket single instance to unix; Windows gets stub modules and a loopback-TCP single instance - Use %APPDATA%/%LOCALAPPDATA% on Windows, hide the console window - build.rs embeds the icon and version resource on Windows targets - packaging/appimage.sh builds the AppImage with the libmpv library closure - packaging/mulberry.iss: per-user Inno Setup installer Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
; Inno Setup script: per-user install (no admin), Start menu entry, uninstaller.
|
|
; Built on Linux under wine: iscc /DVersion=2.0.1 /DSrc=<folder with mulberry.exe and libmpv-2.dll> mulberry.iss
|
|
#ifndef Version
|
|
#define Version "0.0.0"
|
|
#endif
|
|
#ifndef Src
|
|
#define Src "..\dist\Mulberry"
|
|
#endif
|
|
|
|
[Setup]
|
|
AppId={{B4F0C1D2-7A63-4E59-8C1B-52D9E0A7F3C6}
|
|
AppName=Mulberry
|
|
AppVersion={#Version}
|
|
AppVerName=Mulberry {#Version}
|
|
AppPublisher=Mulberry
|
|
VersionInfoVersion={#Version}
|
|
VersionInfoProductName=Mulberry
|
|
VersionInfoDescription=Mulberry Setup
|
|
DefaultDirName={localappdata}\Programs\Mulberry
|
|
DisableProgramGroupPage=yes
|
|
DisableDirPage=auto
|
|
PrivilegesRequired=lowest
|
|
ArchitecturesAllowed=x64compatible
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
OutputDir=..\dist
|
|
OutputBaseFilename=Mulberry-{#Version}-Setup
|
|
SetupIconFile=mulberry.ico
|
|
UninstallDisplayIcon={app}\mulberry.exe
|
|
UninstallDisplayName=Mulberry
|
|
Compression=lzma2/max
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
CloseApplications=yes
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "Create a desktop shortcut"; Flags: unchecked
|
|
|
|
[Files]
|
|
Source: "{#Src}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[Icons]
|
|
Name: "{userprograms}\Mulberry"; Filename: "{app}\mulberry.exe"
|
|
Name: "{userdesktop}\Mulberry"; Filename: "{app}\mulberry.exe"; Tasks: desktopicon
|
|
|
|
[Run]
|
|
Filename: "{app}\mulberry.exe"; Description: "Launch Mulberry"; Flags: nowait postinstall skipifsilent
|