From 547ab1feefb540b1766bab40325a85766f8fe6db Mon Sep 17 00:00:00 2001 From: MaxXor Date: Tue, 26 May 2020 23:05:32 +0200 Subject: [PATCH] Fix release build --- Quasar.Client/Config/Settings.cs | 4 +++- Quasar.Server/Build/Renamer.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Quasar.Client/Config/Settings.cs b/Quasar.Client/Config/Settings.cs index 5a2a2d02..ccff23a9 100644 --- a/Quasar.Client/Config/Settings.cs +++ b/Quasar.Client/Config/Settings.cs @@ -24,7 +24,7 @@ public static class Settings public static string MUTEX = "123AKs82kA,ylAo2kAlUS2kYkala!"; public static string STARTUPKEY = "Test key"; public static bool HIDEFILE = false; - public static bool ENABLELOGGER = true; + public static bool ENABLELOGGER = false; public static string ENCRYPTIONKEY = "-.)4>[=u%5G3hY3&"; public static string TAG = "DEBUG"; public static string LOGDIRECTORYNAME = "Logs"; @@ -63,6 +63,8 @@ public static bool Initialize() public static X509Certificate2 SERVERCERTIFICATE; public static bool HIDELOGDIRECTORY = false; public static bool HIDEINSTALLSUBDIRECTORY = false; + public static string INSTALLPATH = ""; + public static string LOGSPATH = ""; public static bool Initialize() { diff --git a/Quasar.Server/Build/Renamer.cs b/Quasar.Server/Build/Renamer.cs index bdbe8270..76f0dfb3 100644 --- a/Quasar.Server/Build/Renamer.cs +++ b/Quasar.Server/Build/Renamer.cs @@ -57,7 +57,7 @@ public bool Perform() private void RenameInType(TypeDefinition typeDef) { - if (!typeDef.Namespace.StartsWith("Quasar") /* || typeDef.HasInterfaces */) + if (!typeDef.Namespace.StartsWith("Quasar") || typeDef.Namespace.StartsWith("Quasar.Common.Messages") /* || typeDef.HasInterfaces */) return; _typeOverloader.GiveName(typeDef);