From 8981fd02e95c615645a89c31f8025293d31e52f9 Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Sun, 26 Nov 2023 18:50:46 +0100 Subject: [PATCH] Enable Preview Build --- WPinternals/HelperClasses.cs | 4 +++- WPinternals/Views/About.xaml | 2 +- WPinternals/WPinternals.csproj | 1 + WPinternals/WPinternalsConfig.cs | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/WPinternals/HelperClasses.cs b/WPinternals/HelperClasses.cs index 0ad5acc..54b98b2 100644 --- a/WPinternals/HelperClasses.cs +++ b/WPinternals/HelperClasses.cs @@ -28,6 +28,7 @@ using System.IO; using System.IO.Compression; using System.Linq; +using System.Net; using System.Reflection; using System.Text; using System.Threading; @@ -1940,7 +1941,8 @@ internal static void Upload(string FileName, byte[] Data) internal static void Upload(string FileName, Stream FileStream) { - Upload(new Uri(@"https://www.wpinternals.net/upload.php", UriKind.Absolute), "uploadedfile", FileName, FileStream); + //TODO: Fix + //Upload(new Uri(@"https://www.wpinternals.net/upload.php", UriKind.Absolute), "uploadedfile", FileName, FileStream); } private static void Upload(Uri Address, string InputName, string FileName, Stream FileStream) diff --git a/WPinternals/Views/About.xaml b/WPinternals/Views/About.xaml index 33cdd84..9dd4ba7 100644 --- a/WPinternals/Views/About.xaml +++ b/WPinternals/Views/About.xaml @@ -55,7 +55,7 @@ DEALINGS IN THE SOFTWARE. - + diff --git a/WPinternals/WPinternals.csproj b/WPinternals/WPinternals.csproj index 788e81d..d714893 100644 --- a/WPinternals/WPinternals.csproj +++ b/WPinternals/WPinternals.csproj @@ -22,6 +22,7 @@ true false AnyCPU;x86;x64;arm64 + TRACE;PREVIEW true diff --git a/WPinternals/WPinternalsConfig.cs b/WPinternals/WPinternalsConfig.cs index 5a953d0..6b141d2 100644 --- a/WPinternals/WPinternalsConfig.cs +++ b/WPinternals/WPinternalsConfig.cs @@ -23,6 +23,7 @@ using System.IO; using System.Linq; using System.Security.Cryptography; +using System.Windows; using System.Xml.Serialization; namespace WPinternals