Skip to content

Commit

Permalink
build: fix mac builds
Browse files Browse the repository at this point in the history
Resolves #1710.
  • Loading branch information
rr- committed Oct 14, 2024
1 parent c9760a7 commit 05d567b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Initial build:

- Compile the project (described in the next section)
- Copy all executable files from `build/` to your game directory
- Copy the contents of `data/ship/` to your game directory
- Copy the contents of `data/*/ship/` to your game directory

Subsequent builds:

Expand Down
1 change: 1 addition & 0 deletions docs/tr1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## [Unreleased](https://github.com/LostArtefacts/TRX/compare/tr1-4.5...develop) - ××××-××-××
- fixed mac builds missing embedded resources (#1710, regression from 4.5)

## [4.5](https://github.com/LostArtefacts/TRX/compare/tr1-4.4...tr1-4.5) - 2024-10-08
- added a photo mode feature (#1669)
Expand Down
6 changes: 3 additions & 3 deletions src/tr1/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ executable(
)

if host_machine.system() == 'darwin'
install_subdir('../../data/ship/cfg', install_dir : 'Contents/Resources')
install_subdir('../../data/ship/data', install_dir : 'Contents/Resources')
install_subdir('../../data/ship/shaders', install_dir : 'Contents/Resources')
install_subdir('../../data/tr1/ship/cfg', install_dir : 'Contents/Resources')
install_subdir('../../data/tr1/ship/data', install_dir : 'Contents/Resources')
install_subdir('../../data/tr1/ship/shaders', install_dir : 'Contents/Resources')
install_data('../../data/tr1/mac/icon.icns', install_dir : 'Contents/Resources')
install_data('../../data/tr1/mac/Info.plist', install_dir : 'Contents')
meson.add_install_script('../../tools/tr1/mac/bundle_dylibs')
Expand Down

0 comments on commit 05d567b

Please sign in to comment.