Skip to content

Commit

Permalink
Update Installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalCrisis committed Feb 2, 2021
1 parent 312cfbd commit 41c454e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions Installer/ShokoDesktop.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define AppVer GetFileVersion('..\Shoko.Desktop\bin\Release\ShokoDesktop.exe')
#define MyAppExeName "ShokoDesktop.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
Expand All @@ -10,7 +11,7 @@

AppId={{EFA49A76-085F-4E64-AEC4-6ACA707A5D91}
AppName=Shoko Desktop
AppVersion=4.0.0.0
AppVersion=4.1.0.0
AppVerName=Shoko Desktop
AppPublisher=Shoko Team
AppPublisherURL=https://ShokoAnime.com/
Expand All @@ -20,11 +21,14 @@ DefaultDirName={pf}\Shoko\Shoko Desktop
DefaultGroupName=Shoko Desktop
AllowNoIcons=yes
OutputBaseFilename=Shoko_Desktop_Setup_{#AppVer}
UninstallDisplayIcon={app}\{#MyAppExeName}
SolidCompression=yes
Compression=lzma2/ultra64
LZMAUseSeparateProcess=yes
LZMADictionarySize=1048576
LZMANumFastBytes=273
LZMANumFastBytes=273
PrivilegesRequired=admin
InternalCompressLevel=max

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand All @@ -44,11 +48,11 @@ 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/shoko-version-4-0-0-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.0.0 Release Notes"
Filename: "https://shokoanime.com/blog/shoko-version-4-1-0-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.0.0 Release Notes"

[Dirs]
Name: "{app}"; Permissions: users-full
Name: "C:\ProgramData\ShokoSDesktop"; Permissions: users-full
Name: "C:\ProgramData\ShokoDesktop"; Permissions: users-full

[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Expand Down
4 changes: 2 additions & 2 deletions Shoko.Desktop/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0")]
[assembly: AssemblyVersion("4.1.0.0")]
[assembly: AssemblyFileVersion("4.1.0.0")]
[assembly: AllowPartiallyTrustedCallers]
[assembly: SecurityRules(SecurityRuleSet.Level1)]

0 comments on commit 41c454e

Please sign in to comment.