diff --git a/LEGUI/App.xaml.cs b/LEGUI/App.xaml.cs index cedebc5..b9a0e56 100644 --- a/LEGUI/App.xaml.cs +++ b/LEGUI/App.xaml.cs @@ -69,7 +69,10 @@ private void App_OnStartup(object sender, StartupEventArgs e) } catch (Exception ex) { - MessageBox.Show(ex.Message, "Locale Emulator", MessageBoxButton.OK, MessageBoxImage.Error); + MessageBox.Show("LEGUI requires administrator privilege to write to the current directory.", + "Locale Emulator", + MessageBoxButton.OK, + MessageBoxImage.Error); } finally { diff --git a/LEProc/Program.cs b/LEProc/Program.cs index e8b0a55..73598a6 100644 --- a/LEProc/Program.cs +++ b/LEProc/Program.cs @@ -19,7 +19,15 @@ internal static class Program [STAThread] private static void Main(string[] args) { - LEConfig.CheckGlobalConfigFile(true); + if (!File.Exists(LEConfig.GlobalConfigPath)) + { + MessageBox.Show( + "\"LEConfig.xml\" not found. \r\n" + + "Please run \"LEGUI.exe\" once to let it generate one for you.", + "Locale Emulator Version " + Application.ProductVersion, + MessageBoxButtons.OK, + MessageBoxIcon.Information); + } if (args.Length == 0) {