diff --git a/UndertaleModTool/Windows/SettingsWindow.xaml b/UndertaleModTool/Windows/SettingsWindow.xaml index dcdc08c04..76b2e7c5d 100644 --- a/UndertaleModTool/Windows/SettingsWindow.xaml +++ b/UndertaleModTool/Windows/SettingsWindow.xaml @@ -94,7 +94,7 @@ Open application data folder - Update app to latest commit + Update app to latest commit diff --git a/UndertaleModTool/Windows/SettingsWindow.xaml.cs b/UndertaleModTool/Windows/SettingsWindow.xaml.cs index f0d7aa257..dd4cb7c1b 100644 --- a/UndertaleModTool/Windows/SettingsWindow.xaml.cs +++ b/UndertaleModTool/Windows/SettingsWindow.xaml.cs @@ -215,6 +215,12 @@ public bool UpdateButtonEnabled set => UpdateAppButton.IsEnabled = value; } +#if DEBUG + public static Visibility UpdaterButtonVisibility => Visibility.Visible; +#else + public static Visibility UpdaterButtonVisibility => Visibility.Hidden; +#endif + public SettingsWindow() { InitializeComponent();