Skip to content

Commit

Permalink
Fix rpath in built executable
Browse files Browse the repository at this point in the history
  • Loading branch information
cprecioso committed Dec 3, 2021
1 parent 8bc099a commit 35fb4b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ swift build -c release --arch arm64 --arch x86_64
rm -rf .build/release
mkdir -p .build/release
cp -R Resources/* .build/apple/Products/Release/alfred-soulvercore .build/apple/Products/Release/*.framework .build/release
install_name_tool -rpath '@executable_path/../lib' '@executable_path' .build/release/alfred-soulvercore
cd .build/release && zip -r ../SoulverCore.alfredworkflow ./*

0 comments on commit 35fb4b9

Please sign in to comment.