We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f9271 commit 0974ef7Copy full SHA for 0974ef7
1 file changed
exist-distribution/src/main/scripts/create-dmg-mac.sh
@@ -37,9 +37,14 @@ if [[ -f "${output_dmg}" ]]; then
37
rm -v "${output_dmg}"
38
fi
39
40
+# Make sure that pipx is installed
41
+if ! python3 -m pip show pipx > /dev/null 2>&1; then
42
+ yes | python3 -m pip install --user pipx && python3 -m pipx ensurepath && source ~/.bashrc
43
+fi
44
+
45
# Make sure that dmgbuild is installed
-if ! pip show dmgbuild > /dev/null 2>&1; then
- yes | pip install dmgbuild
46
+if ! python3 -m pipx list | grep dmgbuild > /dev/null 2>&1; then
47
+ yes | python3 -m pipx install dmgbuild
48
49
50
set -e
0 commit comments