diff --git a/Novetus/Novetus.Bootstrapper/Novetus.Bootstrapper.csproj b/Novetus/Novetus.Bootstrapper/Novetus.Bootstrapper.csproj
index 7b04ba0..c05a793 100644
--- a/Novetus/Novetus.Bootstrapper/Novetus.Bootstrapper.csproj
+++ b/Novetus/Novetus.Bootstrapper/Novetus.Bootstrapper.csproj
@@ -8,7 +8,7 @@
WinExe
Novetus.Bootstrapper
NovetusBootstrapper
- v4.8
+ v4.5.1
512
false
@@ -21,7 +21,7 @@
full
false
bin\Debug\
- TRACE;DEBUG;BASICLAUNCHER;NOVETUS_APPS;NET481
+ TRACE;DEBUG;BASICLAUNCHER;NOVETUS_APPS
prompt
4
false
@@ -42,6 +42,9 @@
app.manifest
+
+ true
+
diff --git a/Novetus/Novetus.Bootstrapper/Properties/AssemblyInfo.cs b/Novetus/Novetus.Bootstrapper/Properties/AssemblyInfo.cs
index 78caa37..a448dff 100644
--- a/Novetus/Novetus.Bootstrapper/Properties/AssemblyInfo.cs
+++ b/Novetus/Novetus.Bootstrapper/Properties/AssemblyInfo.cs
@@ -31,4 +31,4 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.3.*")]
+[assembly: AssemblyVersion("2.0.*")]
diff --git a/Novetus/Novetus.Bootstrapper/Properties/Settings.Designer.cs b/Novetus/Novetus.Bootstrapper/Properties/Settings.Designer.cs
index f579b53..2b7db12 100644
--- a/Novetus/Novetus.Bootstrapper/Properties/Settings.Designer.cs
+++ b/Novetus/Novetus.Bootstrapper/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace Novetus.Bootstrapper.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/Novetus/Novetus.Bootstrapper/app.config b/Novetus/Novetus.Bootstrapper/app.config
index 27f653e..1710b39 100644
--- a/Novetus/Novetus.Bootstrapper/app.config
+++ b/Novetus/Novetus.Bootstrapper/app.config
@@ -1,18 +1,12 @@
-
+
-
+
-
-
+
+
-
-
-
-
-
-
diff --git a/Novetus/NovetusCore/CharCustom/Forms/Extended/CharacterCustomizationExtended.cs b/Novetus/NovetusCore/CharCustom/Forms/Extended/CharacterCustomizationExtended.cs
index 1a75840..9b8dfe5 100644
--- a/Novetus/NovetusCore/CharCustom/Forms/Extended/CharacterCustomizationExtended.cs
+++ b/Novetus/NovetusCore/CharCustom/Forms/Extended/CharacterCustomizationExtended.cs
@@ -18,11 +18,7 @@ public partial class CharacterCustomizationExtended : Form
{
InitializeComponent();
InitExtendedForm();
-#if NET4
- Size = new Size(671, 337);
-#elif NET481
Size = new Size(681, 347);
-#endif
panel2.Size = new Size(568, 302);
}
#endregion
diff --git a/Novetus/NovetusCore/Classes/WebProxy.cs b/Novetus/NovetusCore/Classes/WebProxy.cs
index 80a7fbe..01133bb 100644
--- a/Novetus/NovetusCore/Classes/WebProxy.cs
+++ b/Novetus/NovetusCore/Classes/WebProxy.cs
@@ -21,7 +21,7 @@ namespace Novetus.Core
public virtual bool IsValidURL(string absolutePath, string host) { return false; }
- public virtual Task OnBeforeTunnelConnectRequest(object sender, TunnelConnectSessionEventArgs e) { return Task.CompletedTask; }
+ public virtual Task OnBeforeTunnelConnectRequest(object sender, TunnelConnectSessionEventArgs e) { return Task.FromResult(0); }
public virtual async Task OnRequest(object sender, SessionEventArgs e)
{
e.Ok("Test successful. \nRunning Novetus " + GlobalVars.ProgramInformation.Version + " on " + GlobalVars.ProgramInformation.NetVersion);
diff --git a/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs b/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs
index 3511b26..21f6e7a 100644
--- a/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs
+++ b/Novetus/NovetusCore/StorageAndFunctions/FileManagement.cs
@@ -14,7 +14,7 @@ using System.Xml.Serialization;
using System.Xml;
using System.Xml.Linq;
#if !BASICLAUNCHER
-using System.Text.Json;
+using Newtonsoft.Json;
#endif
#endregion
@@ -338,11 +338,7 @@ namespace Novetus.Core
DefaultMap = "";
VersionName = "";
//HACK
-#if NET4
- NetVersion = ".NET 4.0";
-#elif NET481
- NetVersion = ".NET 4.8";
-#endif
+ NetVersion = ".NET Framework 4.5.1";
InitialBootup = true;
IsSnapshot = false;
}
diff --git a/Novetus/NovetusCore/StorageAndFunctions/Util.cs b/Novetus/NovetusCore/StorageAndFunctions/Util.cs
index 92329a1..1703ca5 100644
--- a/Novetus/NovetusCore/StorageAndFunctions/Util.cs
+++ b/Novetus/NovetusCore/StorageAndFunctions/Util.cs
@@ -495,17 +495,6 @@ namespace Novetus.Core
}
}
- //http://stevenhollidge.blogspot.com/2012/06/async-taskdelay.html
- public static Task Delay(int milliseconds)
- {
-#if NET4
- var tcs = new TaskCompletionSource