mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
fix build jbinit
This commit is contained in:
1 parent
91d17c2422
commit
0b95d8ad44
1 file changed
+2
-1
@@ -208,6 +208,7 @@ jobs:
|
||||
- name: Download dependencies
|
||||
if: steps.jbinit_cache.cache_hit != 'true'
|
||||
run: |
|
||||
brew install make
|
||||
curl -LO https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_x86_64
|
||||
sudo install -m755 ldid_macosx_x86_64 /usr/local/bin/ldid
|
||||
|
||||
@@ -222,7 +223,7 @@ jobs:
|
||||
sudo sed -i.bak -e 's/__UNAVAILABLE_PUBLIC_IOS;/;/g' $(xcrun -sdk iphoneos --show-sdk-path)/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h
|
||||
ruby -e "File.write(ARGV[0], File.read(ARGV[0]).gsub(ARGV[1]) { ARGV[2] })" $(xcrun -sdk iphoneos --show-sdk-path)/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h '__API_DEPRECATED_WITH_REPLACEMENT("kIOMainPortDefault", macos(10.0, 12.0)) __API_UNAVAILABLE(ios, watchos, tvos);' '__API_DEPRECATED_WITH_REPLACEMENT("kIOMainPortDefault", macos(10.0, 12.0)) /*__API_UNAVAILABLE(ios, watchos, tvos)*/;'
|
||||
sudo chown $UID:$GID .
|
||||
sudo make ramdisk.dmg
|
||||
sudo gmake ramdisk.dmg
|
||||
|
||||
- name: Upload ramdisk
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in new issue
Block a user