diff --git a/Installer/ShokoDesktop.iss b/Installer/ShokoDesktop.iss index d5854b3d..aaa3e6ec 100644 --- a/Installer/ShokoDesktop.iss +++ b/Installer/ShokoDesktop.iss @@ -1,7 +1,8 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -#define AppVer GetFileVersion('..\Shoko.Desktop\bin\Release\ShokoDesktop.exe') +#define AppVer GetFileVersion('..\Shoko.Desktop\bin\Release\net6.0-windows\ShokoDesktop.exe') +#define AppSlug Copy(AppVer, 1, Len(AppVer) - 2) #define MyAppExeName "ShokoDesktop.exe" [Setup] @@ -11,7 +12,7 @@ AppId={{EFA49A76-085F-4E64-AEC4-6ACA707A5D91} AppName=Shoko Desktop -AppVersion=4.1.2.0 +AppVersion=4.2.0.0 AppVerName=Shoko Desktop AppPublisher=Shoko Team AppPublisherURL=https://ShokoAnime.com/ @@ -20,7 +21,7 @@ AppUpdatesURL=https://ShokoAnime.com/downloads DefaultDirName={pf}\Shoko\Shoko Desktop DefaultGroupName=Shoko Desktop AllowNoIcons=yes -OutputBaseFilename=Shoko_Desktop_Setup_{#AppVer} +OutputBaseFilename=Shoko-Desktop-Setup-{#AppSlug} UninstallDisplayIcon={app}\{#MyAppExeName} SolidCompression=yes InternalCompressLevel=max @@ -39,7 +40,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{ [Files] Source: "..\..\ShokoDesktop\Installer\FixPermissions.bat"; DestDir: "{app}"; Flags: ignoreversion -Source: "..\Shoko.Desktop\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\Shoko.Desktop\bin\Release\net6.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs [Icons] Name: "{group}\Shoko Desktop"; Filename: "{app}\ShokoDesktop.exe" @@ -49,7 +50,7 @@ Name: "{commondesktop}\Shoko Desktop"; Filename: "{app}\ShokoDesktop.exe"; Tasks [Run] Filename: "{app}\FixPermissions.bat"; Filename: "{app}\ShokoDesktop.exe"; Flags: nowait postinstall skipifsilent shellexec; Description: "{cm:LaunchProgram,Shoko Desktop}" -Filename: "https://shokoanime.com/blog/shoko-version-4-1-2-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.1.2 Release Notes" +Filename: "https://shokoanime.com/blog/shoko-version-420-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.2.0 Release Notes" [Dirs] Name: "{app}"; Permissions: users-full diff --git a/Shoko.Desktop/Properties/AssemblyInfo.cs b/Shoko.Desktop/Properties/AssemblyInfo.cs index 54b09343..3aff7882 100644 --- a/Shoko.Desktop/Properties/AssemblyInfo.cs +++ b/Shoko.Desktop/Properties/AssemblyInfo.cs @@ -50,7 +50,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.1.2.0")] -[assembly: AssemblyFileVersion("4.1.2.0")] +[assembly: AssemblyVersion("4.2.0.0")] +[assembly: AssemblyFileVersion("4.2.0.0")] [assembly: AllowPartiallyTrustedCallers] [assembly: SecurityRules(SecurityRuleSet.Level1)]