mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
add munkipkg for build pkg that adds ghostty to path at install time
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@ -17,3 +17,7 @@ test/cases/**/*.actual.png
|
||||
glad.zip
|
||||
/Box_test.ppm
|
||||
/Box_test_diff.ppm
|
||||
|
||||
bin
|
||||
lib
|
||||
pyvenv.cfg
|
8
Makefile
8
Makefile
@ -26,3 +26,11 @@ clean:
|
||||
macos/build \
|
||||
macos/GhosttyKit.xcframework
|
||||
.PHONY: clean
|
||||
|
||||
macpkgreleaselocal:
|
||||
cp -r macos/build/ReleaseLocal/Ghostty.app munkipkg/Applications/Ghostty.app
|
||||
munkipkg ./munkipkg
|
||||
|
||||
macpkgrelease:
|
||||
cp -r macos/build/Release/Ghostty.app munkipkg/Applications/Ghostty.app
|
||||
munkipkg ./munkipkg
|
||||
|
3
munkipkg/.gitignore
vendored
Normal file
3
munkipkg/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
build
|
||||
payload/Applications/Ghostty.app
|
||||
!payload/Applications
|
9
munkipkg/build-info.yaml
Normal file
9
munkipkg/build-info.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
distribution_style: false
|
||||
identifier: com.mitchellh.ghostty
|
||||
install_location: /
|
||||
name: Ghostty-${version}.pkg
|
||||
ownership: recommended
|
||||
postinstall_action: none
|
||||
preserve_xattr: false
|
||||
suppress_bundle_relocation: true
|
||||
version: '1.0.1'
|
0
munkipkg/payload/Applications/.gitignore
vendored
Normal file
0
munkipkg/payload/Applications/.gitignore
vendored
Normal file
2
munkipkg/scripts/postinstall
Executable file
2
munkipkg/scripts/postinstall
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
ln -s /Applications/Ghostty.app/Contents/MacOS/ghostty /usr/local/bin/ghostty
|
Reference in New Issue
Block a user