From 9578ce91bc45ba2fe1dfea29a7a6682d264004db Mon Sep 17 00:00:00 2001 From: Jaex Date: Sun, 4 Mar 2018 01:15:29 +0300 Subject: [PATCH] Revert ProcessorArchitecture change --- ShareX.HelpersLib/Native/NativeMethods_Helpers.cs | 4 ++++ ShareX.Setup/WindowsStore/AppxManifest.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ShareX.HelpersLib/Native/NativeMethods_Helpers.cs b/ShareX.HelpersLib/Native/NativeMethods_Helpers.cs index 57ae853e4..306904d1f 100644 --- a/ShareX.HelpersLib/Native/NativeMethods_Helpers.cs +++ b/ShareX.HelpersLib/Native/NativeMethods_Helpers.cs @@ -466,7 +466,11 @@ public static string decode_mmioFOURCC(int code) public static bool Is64Bit() { +#if WindowsStore + return true; +#else return IntPtr.Size == 8 || (IntPtr.Size == 4 && Is32BitProcessOn64BitProcessor()); +#endif } private static bool Is32BitProcessOn64BitProcessor() diff --git a/ShareX.Setup/WindowsStore/AppxManifest.xml b/ShareX.Setup/WindowsStore/AppxManifest.xml index 1a4f336ca..df110603f 100644 --- a/ShareX.Setup/WindowsStore/AppxManifest.xml +++ b/ShareX.Setup/WindowsStore/AppxManifest.xml @@ -1,6 +1,6 @@  - + ShareX ShareX Team