diff --git a/UWPHook/App.config b/UWPHook/App.config index ff69ab4..2aaf07b 100644 --- a/UWPHook/App.config +++ b/UWPHook/App.config @@ -23,11 +23,12 @@ False - 617eb1e4ce186060a4b1e2ab0d468a44 + - + any alternate blurred @@ -39,7 +40,8 @@ - + any static animated @@ -48,7 +50,8 @@ - + false any true @@ -57,7 +60,8 @@ - + false any true diff --git a/UWPHook/GamesWindow.xaml.cs b/UWPHook/GamesWindow.xaml.cs index dd054a6..f7461e3 100644 --- a/UWPHook/GamesWindow.xaml.cs +++ b/UWPHook/GamesWindow.xaml.cs @@ -683,8 +683,10 @@ namespace UWPHook /// private void Window_Loaded(object sender, RoutedEventArgs e) { - if (String.IsNullOrEmpty(Settings.Default.SteamGridDbApiKey) && !Settings.Default.OfferedSteamGridDB) + + if (!Settings.Default.OfferedSteamGridDB) { + Settings.Default.SteamGridDbApiKey = ""; Settings.Default.OfferedSteamGridDB = true; Settings.Default.Save(); diff --git a/UWPHook/Properties/Settings.Designer.cs b/UWPHook/Properties/Settings.Designer.cs index 3ddee72..02c8e48 100644 --- a/UWPHook/Properties/Settings.Designer.cs +++ b/UWPHook/Properties/Settings.Designer.cs @@ -73,7 +73,7 @@ namespace UWPHook.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("617eb1e4ce186060a4b1e2ab0d468a44")] + [global::System.Configuration.DefaultSettingValueAttribute("")] public string SteamGridDbApiKey { get { return ((string)(this["SteamGridDbApiKey"])); diff --git a/UWPHook/Properties/Settings.settings b/UWPHook/Properties/Settings.settings index fc91477..26e187e 100644 --- a/UWPHook/Properties/Settings.settings +++ b/UWPHook/Properties/Settings.settings @@ -15,7 +15,7 @@ False - 617eb1e4ce186060a4b1e2ab0d468a44 + <?xml version="1.0" encoding="utf-16"?> diff --git a/UWPHook/SettingsWindow.xaml.cs b/UWPHook/SettingsWindow.xaml.cs index c5dd8f0..98c48c0 100644 --- a/UWPHook/SettingsWindow.xaml.cs +++ b/UWPHook/SettingsWindow.xaml.cs @@ -97,14 +97,5 @@ namespace UWPHook "Log-in, or create your account, go to your profile preferences and click 'Generate API Key', then paste the key back on UWPHook.", "Attention!", MessageBoxButton.OK, MessageBoxImage.Information ); System.Diagnostics.Process.Start("https://www.steamgriddb.com/profile/preferences/api"); } - - //private void test() - //{ - // FixHeight = 1280; - // - // FixWidth = 1024; - // - // Resolution.CResolution ChangeRes1024 = new Resolution.CResolution(FixHeight, FixWidth); - //} } } \ No newline at end of file