Skip to content

Commit

Permalink
fix: revert create_launcher_shortcuts due to concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlaltf24 authored and thw26 committed Oct 25, 2024
1 parent ceffd30 commit bd8ec61
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ou_dedetai/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,15 @@ def ensure_launcher_shortcuts(app=None):
ensure_launcher_executable(app=app)
config.INSTALL_STEP += 1
update_install_feedback("Creating launcher shortcuts…", app=app)
create_launcher_shortcuts()
runmode = system.get_runmode()
if runmode == 'binary':
update_install_feedback("Creating launcher shortcuts…", app=app)
create_launcher_shortcuts()
else:
update_install_feedback(
"Running from source. Skipping launcher creation.",
app=app
)

if config.DIALOG == 'cli':
# Signal CLI.user_input_processor to stop.
Expand Down

0 comments on commit bd8ec61

Please sign in to comment.