diff --git a/main.py b/main.py index 58be952..5588b15 100644 --- a/main.py +++ b/main.py @@ -5942,11 +5942,11 @@ def show_critical_error(error_msg): window.save_project(True) #TODO: If the window is the one to crash, the file can't get saved. Could be fine as the window is what was storing the data to begin with? message = ( - "FLARES has encountered an unrecoverable error and needs to close.

" + f"{APP_NAME.upper()} has encountered an unrecoverable error and needs to close.

" f"We are sorry for the inconvenience. An autosave was attempted to be saved to {autosave_path}, but it may not have been saved. " "If the file was saved, it still may not be intact, openable, or contain the correct data. Use the autosave at your discretion.

" - "This unrecoverable error was likely due to an error with FLARES and not your data.
" - f"Please raise an issue here and attach the error file located at {log_path2}

" + f"This unrecoverable error was likely due to an error with {APP_NAME.upper()} and not your data.
" + f"Please raise an issue here and attach the error file located at {log_path2}

" f"
{error_msg}
" ) @@ -5963,9 +5963,9 @@ if __name__ == "__main__": # Set up application logging if PLATFORM_NAME == "darwin": - log_path = os.path.join(os.path.dirname(sys.executable), "../../../flares.log") + log_path = os.path.join(os.path.dirname(sys.executable), f"../../../{APP_NAME}.log") else: - log_path = os.path.join(os.getcwd(), "flares.log") + log_path = os.path.join(os.getcwd(), f"{APP_NAME}.log") try: os.remove(log_path)