Skip to content

Commit 38d93db

Browse files
committed
Update construct.yaml file
1 parent 1f0c6e3 commit 38d93db

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

conda_distribution/construct.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,19 @@ specs:
6565

6666
license_file: LICENSE
6767

68-
post_install: post_install.sh # [linux]
69-
post_install: post_install_macosx.sh # [osx]
68+
post_install: post_install.sh # [unix]
7069
post_install: post_install.bat # [win]
7170

7271
pre_uninstall: pre_uninstall.bat # [win]
7372

7473
post_install_desc: "Add context menu shortcuts." # [win]
7574

76-
# transmute not supported yet by micromamba
77-
# https://github.com/conda-forge/miniforge/pull/270
78-
transmute_file_type: ".conda" # [not arm64]
7975
installer_type: pkg # [osx]
8076

81-
# Icon image for Windows installer
82-
icon_image: hyperspy_bundle_installer.ico # [win]
83-
8477
default_prefix: '%USERPROFILE%\HyperSpy-bundle' # [win]
8578

79+
welcome_image: hyperspy_bundle_installer.ico # [win]
80+
8681
welcome_image_text: |-
8782
HyperSpy
8883
bundle

conda_distribution/post_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "Starting post install script..."
44

55
# Activate conda environment
6-
source ${PREFIX}/bin/activate base
6+
source "$PREFIX/etc/profile.d/conda.sh" && conda activate "$PREFIX"
77

88
# Desktop integration
99
start_jupyter_cm

0 commit comments

Comments
 (0)