Skip to content

Commit

Permalink
Merge pull request #24 from zebrapurring/fix-venv-paths
Browse files Browse the repository at this point in the history
Fix hardcoded paths
  • Loading branch information
zebrapurring authored Dec 8, 2024
2 parents 941457f + bfd4de7 commit 50beaee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ build_immich "$staging_dir/immich" "$dist_dir"
build_immich_machine_learning "$staging_dir/immich" "$dist_dir"
fetch_immich_geodata "$dist_dir"

# Fix paths in generated root directory
grep -rlI --null "$root_dir" "$root_dir" | xargs -0 sed -i "" "s|$root_dir||g"

# Copy PKG resources
mkdir -p "$root_dir/Library/LaunchDaemons"
find ./launchd -type f -name "*.plist" | while read -r f; do
Expand Down

0 comments on commit 50beaee

Please sign in to comment.