Skip to content

Commit

Permalink
Add mac post install script to add to path
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Jan 22, 2025
1 parent 27891e3 commit 4a3fde8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packager/deb-resources/postinstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env sh

TARGET_DIR="/usr/local/bin"

if [ ! -d $TARGET_DIR ]
then
mkdir -p $TARGET_DIR
fi

ln -Ffs "$2/Peergos.app/Contents/MacOS/Peergos" "$TARGET_DIR/peergos"

exit 0

0 comments on commit 4a3fde8

Please sign in to comment.