From 56d072c8aa9185f91c251d10644dfe33128e381b Mon Sep 17 00:00:00 2001 From: Elemental Crisis <9443295+ElementalCrisis@users.noreply.github.com> Date: Mon, 1 Feb 2021 17:12:33 -0800 Subject: [PATCH] Update Installer. --- Installer/ShokoServer.iss | 10 +++++----- SharedAssemblyInfo.cs | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Installer/ShokoServer.iss b/Installer/ShokoServer.iss index 8d23ce798..50e02d5c3 100644 --- a/Installer/ShokoServer.iss +++ b/Installer/ShokoServer.iss @@ -1,7 +1,7 @@ ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -#define AppVer GetFileVersion('..\Shoko.Server\bin\Release\netcoreapp3.1\win10-x64\publish\ShokoServer.exe') +#define AppVer GetFileVersion('..\Shoko.Server\bin\Release\net5.0-windows\win10-x64\ShokoServer.exe') #define MyAppExeName "ShokoServer.exe" [Setup] @@ -10,7 +10,7 @@ ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{0BA2D22B-A0B7-48F8-8AA1-BAAEFC2034CB} AppName=Shoko Server -AppVersion=4.0.1.0 +AppVersion=4.1.0.0 AppVerName=Shoko Server AppPublisher=Shoko Team AppPublisherURL=https://shokoanime.com/ @@ -48,8 +48,8 @@ Name: "{commonstartup}\Shoko Server"; Filename: "{app}\ShokoServer.exe"; Tasks: Filename: "{sys}\netsh.exe"; Parameters: "advfirewall firewall add rule name=""Shoko Server - Client Port"" dir=in action=allow protocol=TCP localport=8111"; Flags: runhidden; StatusMsg: "Open exception on firewall..."; Tasks: Firewall Filename: "{app}\FixPermissions.bat"; Filename: "{app}\ShokoServer.exe"; Flags: nowait postinstall skipifsilent shellexec; Description: "{cm:LaunchProgram,Shoko Server}" -Filename: "https://docs.shokoanime.com/server/install_windows"; Flags: shellexec runasoriginaluser postinstall; Description: "Shoko Server Install Guide" -Filename: "https://shokoanime.com/blog/shoko-version-4-0-1-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.0.1 Release Notes" +Filename: "https://docs.shokoanime.com/server/install/"; Flags: shellexec runasoriginaluser postinstall; Description: "Shoko Server Install Guide" +Filename: "https://shokoanime.com/blog/shoko-version-4-1-0-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.1.0 Release Notes" [UninstallRun] Filename: "{sys}\netsh.exe"; Parameters: "advfirewall firewall delete rule name=""Shoko Server - Client Port"" protocol=TCP localport=8111"; Flags: runhidden; StatusMsg: "Closing exception on firewall..."; Tasks: Firewall @@ -72,7 +72,7 @@ Name: "C:\ProgramData\ShokoServer"; Permissions: users-full [Files] Source: "..\..\ShokoServer\Installer\FixPermissions.bat"; DestDir: "{app}"; Flags: ignoreversion -Source: "..\Shoko.Server\bin\Release\netcoreapp3.1\win10-x64\publish\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\Shoko.Server\bin\Release\net5.0-windows\win10-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs [Code] diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs index 5c4e9905f..94b2004b0 100644 --- a/SharedAssemblyInfo.cs +++ b/SharedAssemblyInfo.cs @@ -1,8 +1,8 @@ using System.Reflection; -[assembly: AssemblyVersion("4.0.1")] +[assembly: AssemblyVersion("4.1.0")] [assembly: AssemblyProduct("Shoko Server")] -[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyInformationalVersion("release")]