mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
Drop Commit Message
This commit is contained in:
3
.github/workflows/build-app-offline.yml
vendored
3
.github/workflows/build-app-offline.yml
vendored
@@ -11,7 +11,6 @@ jobs:
|
|||||||
name: Build Offline TUI
|
name: Build Offline TUI
|
||||||
runs-on: x86_64_mojave
|
runs-on: x86_64_mojave
|
||||||
env:
|
env:
|
||||||
commitmsg: ${{ github.event.head_commit.message }}
|
|
||||||
branch: ${{ github.event.ref }}
|
branch: ${{ github.event.ref }}
|
||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
@@ -19,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: python3 create_offline_build.py
|
- run: python3 create_offline_build.py
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
||||||
- run: python3 ./payloads/binary.py '$commitmsg' '$branch' '$commiturl' '$commitdate'
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
- run: ./after_pyinstaller.sh
|
- run: ./after_pyinstaller.sh
|
||||||
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
||||||
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ jobs:
|
|||||||
name: Build wxPython Offline
|
name: Build wxPython Offline
|
||||||
runs-on: x86_64_mojave
|
runs-on: x86_64_mojave
|
||||||
env:
|
env:
|
||||||
commitmsg: ${{ github.event.head_commit.message }}
|
|
||||||
branch: ${{ github.event.ref }}
|
branch: ${{ github.event.ref }}
|
||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
@@ -19,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: python3 create_offline_build.py
|
- run: python3 create_offline_build.py
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
||||||
- run: python3 ./payloads/binary.py '$commitmsg' '$branch' '$commiturl' '$commitdate'
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
||||||
- run: cd dist; zip -r ../OpenCore-Patcher-wxPython.app.zip OpenCore-Patcher.app
|
- run: cd dist; zip -r ../OpenCore-Patcher-wxPython.app.zip OpenCore-Patcher.app
|
||||||
- run: ./../sign-wxpython.sh
|
- run: ./../sign-wxpython.sh
|
||||||
|
|||||||
3
.github/workflows/build-app-wxpython.yml
vendored
3
.github/workflows/build-app-wxpython.yml
vendored
@@ -11,14 +11,13 @@ jobs:
|
|||||||
name: Build wxPython
|
name: Build wxPython
|
||||||
runs-on: x86_64_mojave
|
runs-on: x86_64_mojave
|
||||||
env:
|
env:
|
||||||
commitmsg: ${{ github.event.head_commit.message }}
|
|
||||||
branch: ${{ github.event.ref }}
|
branch: ${{ github.event.ref }}
|
||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher-GUI.spec
|
||||||
- run: python3 ./payloads/binary.py '$commitmsg' '$branch' '$commiturl' '$commitdate'
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
||||||
- run: cd dist; zip -r ../OpenCore-Patcher-wxPython.app.zip OpenCore-Patcher.app
|
- run: cd dist; zip -r ../OpenCore-Patcher-wxPython.app.zip OpenCore-Patcher.app
|
||||||
- run: ./../sign-wxpython.sh
|
- run: ./../sign-wxpython.sh
|
||||||
|
|||||||
3
.github/workflows/build-app.yml
vendored
3
.github/workflows/build-app.yml
vendored
@@ -11,14 +11,13 @@ jobs:
|
|||||||
name: Build TUI
|
name: Build TUI
|
||||||
runs-on: x86_64_mojave
|
runs-on: x86_64_mojave
|
||||||
env:
|
env:
|
||||||
commitmsg: ${{ github.event.head_commit.message }}
|
|
||||||
branch: ${{ github.event.ref }}
|
branch: ${{ github.event.ref }}
|
||||||
commiturl: ${{ github.event.head_commit.url }}
|
commiturl: ${{ github.event.head_commit.url }}
|
||||||
commitdate: ${{ github.event.head_commit.timestamp }}
|
commitdate: ${{ github.event.head_commit.timestamp }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
- run: /Library/Frameworks/Python.framework/Versions/3.9/bin/pyinstaller OpenCore-Patcher.spec
|
||||||
- run: python3 ./payloads/binary.py '$commitmsg' '$branch' '$commiturl' '$commitdate'
|
- run: python3 ./payloads/binary.py $branch $commiturl $commitdate
|
||||||
- run: ./after_pyinstaller.sh
|
- run: ./after_pyinstaller.sh
|
||||||
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
- run: 'codesign -s "Developer ID Application: Mykola Grymalyuk (S74BDJXQMD)" -v --force --deep --timestamp --entitlements ./payloads/entitlements.plist -o runtime "dist/OpenCore-Patcher.app"'
|
||||||
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
- run: cd dist; zip -r ../OpenCore-Patcher-TUI.app.zip OpenCore-Patcher.app
|
||||||
|
|||||||
@@ -43,10 +43,9 @@ def patch_info_plist():
|
|||||||
plist = plistlib.load(Path(plist_path).open("rb"))
|
plist = plistlib.load(Path(plist_path).open("rb"))
|
||||||
print("- Adding Github Dictionary")
|
print("- Adding Github Dictionary")
|
||||||
plist["Github"] = {
|
plist["Github"] = {
|
||||||
"Commit Message": argsv[0],
|
"Branch": argsv[0],
|
||||||
"Branch": argsv[1],
|
"Commit URL": argsv[1],
|
||||||
"Commit URL": argsv[2],
|
"Commit Date": argsv[2],
|
||||||
"Commit Date": argsv[3],
|
|
||||||
}
|
}
|
||||||
print("- Writing Plist")
|
print("- Writing Plist")
|
||||||
plistlib.dump(plist, Path(plist_path).open("wb"), sort_keys=True)
|
plistlib.dump(plist, Path(plist_path).open("wb"), sort_keys=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user