diff --git a/AlotAddOnGUI/App.xaml.cs b/AlotAddOnGUI/App.xaml.cs index b3c79f1b..0b764eba 100644 --- a/AlotAddOnGUI/App.xaml.cs +++ b/AlotAddOnGUI/App.xaml.cs @@ -141,6 +141,11 @@ public App() : base() File.Delete(updateDestinationPath + "manifest-bundled.xml"); } + if (File.Exists(updateDestinationPath + "DEV_MODE")) + { + Log.Information("Pulling application out of developer mode"); + File.Delete(updateDestinationPath + "DEV_MODE"); + } Log.Information("Rebooting into normal mode to complete update: " + updateDestinationPath + System.AppDomain.CurrentDomain.FriendlyName); ProcessStartInfo psi = new ProcessStartInfo(updateDestinationPath + System.AppDomain.CurrentDomain.FriendlyName); psi.WorkingDirectory = updateDestinationPath;