Skip to content

Commit

Permalink
Fix webkit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Jan 30, 2025
1 parent 48886b9 commit 75e9496
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sharun"
version = "0.2.7"
version = "0.2.8"
readme = "README.md"
license = "MIT"
repository = "https://github.com/VHSgunzo/sharun"
Expand Down
3 changes: 2 additions & 1 deletion lib4bin
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ for binary in "${BINARY_LIST[@]}"
if [[ -f "$bin_to_wrap" && ! -L "$bin_to_wrap" ]] && \
! grep -q '.*\.so.*'<<<"$bin_to_wrap"
then
try_mkdir "$bin_dir_pth"
mv "$bin_to_wrap" "$bin_dir_pth"
ln -sr "$dst_dir/sharun" "$dst_webkit_lib_dir/$(basename "$bin_to_wrap")"
fi
Expand All @@ -651,7 +652,7 @@ for binary in "${BINARY_LIST[@]}"
then
try_ln . "$dst_dir_pth/$lib_dir/$(basename "$(dirname "$lib_src_pth")")"
fi
if ! grep -q 'SHARUN_WORKING_DIR=${SHARUN_DIR}' "$dst_dir/.env"
if ! grep -q 'SHARUN_WORKING_DIR=${SHARUN_DIR}' "$dst_dir/.env" 2>/dev/null
then
echo 'SHARUN_WORKING_DIR=${SHARUN_DIR}' >> "$dst_dir/.env"
fi ;;
Expand Down

0 comments on commit 75e9496

Please sign in to comment.