Skip to content

Commit

Permalink
Added build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
codecat committed Sep 30, 2022
1 parent f174e51 commit d431fe6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ To see your textures in TrenchBroom, navigate to `Preferences` -> `Godot` -> `Ga

> Note: This currently only works with textures in `.png` format, and materials in `.material` or `.tres`.
# Building
On all platforms, the build process is the same. Make sure scons is installed, and then just run
`scons target=release` to build.

On Mac, the process is the same, but you will have to codesign and notarize your resulting binary as
well if you want it to run on consumer hardware. To do this, you need to already have the notary
tool configured on your machine (you need a keychain profile), and then run:

```
$ codesign -s "Developer ID Application: Your Name (1234567890)" libtbloader.macos.universal.dylib --timestamp
$ zip archive.zip libtbloader.macos.universal.dylib
$ xcrun notarytool submit --keychain-profile "Profile Name" --wait archive.zip
```

# Credits
* [Qodot](https://github.com/QodotPlugin/qodot-plugin)
* [Original libmap](https://github.com/QodotPlugin/libmap)
Expand Down

0 comments on commit d431fe6

Please sign in to comment.