Skip to content

Commit

Permalink
Merge pull request #22202 from mrclary/update-manager
Browse files Browse the repository at this point in the history
PR: Fix issue where macOS installer update fails to launch Spyder
  • Loading branch information
ccordoba12 authored Jun 27, 2024
2 parents 04e6bc5 + b56e528 commit 01140e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions installers-conda/build_installers.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ def _definitions():
"menuinst >=2.0.2",
"mamba",
],
"exclude": ["pip"],
"installer_filename": OUTPUT_FILE.name,
"installer_type": args.install_type,
"initialize_by_default": False,
Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/updatemanager/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ launch_spyder(){
shortcut_path=$($pythonexe $menuinst shortcut --mode=$mode)

if [[ "$OSTYPE" = "darwin"* ]]; then
open -a $shortcut
open -a "$shortcut_path"
elif [[ -n "$(which gtk-launch)" ]]; then
gtk-launch $(basename ${shortcut_path%.*})
else
Expand Down

0 comments on commit 01140e1

Please sign in to comment.