From 6286fc94373a0ddf8f31590b6f3a5865da15e3c6 Mon Sep 17 00:00:00 2001 From: Elemental Crisis <9443295+ElementalCrisis@users.noreply.github.com> Date: Sun, 29 Aug 2021 15:34:46 -0700 Subject: [PATCH] Update Installer. --- Installer/ShokoServer.iss | 6 +++--- Publish_Release.bat | 2 +- SharedAssemblyInfo.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Installer/ShokoServer.iss b/Installer/ShokoServer.iss index 50e02d5c3..4e2525d50 100644 --- a/Installer/ShokoServer.iss +++ b/Installer/ShokoServer.iss @@ -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.1.0.0 +AppVersion=4.1.1.0 AppVerName=Shoko Server AppPublisher=Shoko Team AppPublisherURL=https://shokoanime.com/ @@ -49,7 +49,7 @@ Filename: "{sys}\netsh.exe"; Parameters: "advfirewall firewall add rule name=""S 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/"; 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" +Filename: "https://shokoanime.com/blog/shoko-version-4-1-1-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\net5.0-windows\win10-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\Shoko.Server\bin\Release\net5.0\win10-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs [Code] diff --git a/Publish_Release.bat b/Publish_Release.bat index 7945680e7..1bfa7271f 100644 --- a/Publish_Release.bat +++ b/Publish_Release.bat @@ -1 +1 @@ -dotnet publish -c Release -r win10-x64 Shoko.TrayService \ No newline at end of file +dotnet publish -c Release -r win10-x64 --self-contained true -f net5.0-windows Shoko.TrayService \ No newline at end of file diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs index 94b2004b0..12183a12f 100644 --- a/SharedAssemblyInfo.cs +++ b/SharedAssemblyInfo.cs @@ -1,6 +1,6 @@ -using System.Reflection; +using System.Reflection; -[assembly: AssemblyVersion("4.1.0")] +[assembly: AssemblyVersion("4.1.1")] [assembly: AssemblyProduct("Shoko Server")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")]