Skip to content

Commit 214669d

Browse files
committed
Added welcome screen. Closes #14
1 parent c85b320 commit 214669d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This project automates ***most*** of the conversion work required to convert the legacy (old) `Cortex Command` mods into `Cortex Command Community Project` compatible mods.
66

77
## Getting started
8-
Download the [***Legacy Mod Converter***](http://www.mediafire.com/file/ldp5p3l8pzocz3a/Legacy_Mod_Converter.exe/file) program. Create a new folder and put your legacy mods that you want to convert in it. Run the Legacy Mod Converter program.
8+
Download the [***Legacy Mod Converter***](http://www.mediafire.com/file/7dd1xecs5sgvd7t/Legacy_Mod_Converter.exe/file) program. Create a new folder and put your legacy mods that you want to convert in it. Run the Legacy Mod Converter program.
99

1010
If you get a "`Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.`" popup message when trying to run the program you should press `More info` and then `Run anyway`.
1111

python/gui.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ def init_window_theme():
2626

2727

2828
def init_window():
29+
if not os.path.isfile(sg.user_settings_filename()):
30+
clicked_github_button = sg.Popup("This is a tool that allows you to convert legacy (old) mods to the latest version of CCCP. You can get more information from the Legacy Mod Converter GitHub repo.", title="Welcome screen", custom_text="Go to GitHub")
31+
if clicked_github_button:
32+
webbrowser.open("https://github.com/cortex-command-community/Cortex-Command-Legacy-Mod-Converter")
33+
2934
no_path_set_color = "#b35858"
3035

3136
paths_column = [
@@ -46,7 +51,7 @@ def init_window():
4651
]
4752
], title="Convert Mods")]
4853
]
49-
54+
5055
play_finish_sound_setting = sg.user_settings_get_entry("play_finish_sound")
5156
sg.user_settings_set_entry("play_finish_sound", True if play_finish_sound_setting == None else play_finish_sound_setting)
5257

0 commit comments

Comments
 (0)