Skip to content

Commit 653f7cc

Browse files
committed
CI: Remove deprecated application
1 parent bb71553 commit 653f7cc

File tree

8 files changed

+4
-133
lines changed

8 files changed

+4
-133
lines changed

.github/workflows/build-app-wxpython.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI - Build wxPython
22

33
on:
44
push:
5-
paths-ignore:
5+
paths-ignore:
66
- 'docs/**'
77
workflow_dispatch:
88
release:
@@ -84,23 +84,6 @@ jobs:
8484
--run-as-individual-steps
8585
--prepare-package
8686
87-
- name: Prepare Update Shim (--prepare-shim)
88-
run: >
89-
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 Build-Project.command
90-
--application-signing-identity "${{ env.ORG_MAC_DEVELOPER_ID_APPLICATION_IDENTITY }}"
91-
--notarization-apple-id "${{ env.ORG_MAC_NOTARIZATION_APPLE_ID }}" --notarization-password "${{ env.ORG_MAC_NOTARIZATION_PASSWORD }}" --notarization-team-id "${{ env.ORG_MAC_NOTARIZATION_TEAM_ID }}"
92-
--run-as-individual-steps
93-
--prepare-shim
94-
95-
- name: Prepare App for Upload
96-
run: /bin/mv ./dist/OpenCore-Patcher.app.zip ./OpenCore-Patcher-GUI.app.zip
97-
98-
- name: Upload App to Artifacts
99-
uses: actions/upload-artifact@v4
100-
with:
101-
name: OpenCore-Patcher.app (GUI)
102-
path: OpenCore-Patcher-GUI.app.zip
103-
10487
- name: Upload AutoPkg Package to Artifacts
10588
uses: actions/upload-artifact@v4
10689
with:
@@ -119,15 +102,6 @@ jobs:
119102
name: OpenCore-Patcher-Uninstaller.pkg
120103
path: ./dist/OpenCore-Patcher-Uninstaller.pkg
121104

122-
- name: Upload Binary to Release
123-
if: github.event_name == 'release'
124-
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
125-
with:
126-
repo_token: ${{ secrets.GITHUB_TOKEN }}
127-
file: OpenCore-Patcher-GUI.app.zip
128-
tag: ${{ github.ref }}
129-
file_glob: true
130-
131105
- name: Upload AutoPkg Package to Release
132106
if: github.event_name == 'release'
133107
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d

Build-Project.command

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,16 @@ import os
77
import sys
88
import time
99
import argparse
10-
import plistlib
1110

1211
from pathlib import Path
1312

1413
from ci_tooling.build_modules import (
1514
application,
1615
disk_images,
1716
package,
18-
sign_notarize,
19-
shim
17+
sign_notarize
2018
)
2119

22-
from opencore_legacy_patcher import constants
23-
2420

2521
def main() -> None:
2622
"""
@@ -55,10 +51,6 @@ def main() -> None:
5551
parser.add_argument("--prepare-package", action="store_true", help="CI: Prepare Package", default=False)
5652
parser.add_argument("--prepare-assets", action="store_true", help="CI: Prepare Assets", default=False)
5753

58-
# CI/CD Parameters for additional steps
59-
# If not specified, will not run additional steps
60-
parser.add_argument("--prepare-shim", action="store_true", help="CI: Prepare Update Shim", default=False)
61-
6254
# Analytics Parameters
6355
parser.add_argument("--analytics-key", type=str, help="Analytics Key", default=None)
6456
parser.add_argument("--analytics-endpoint", type=str, help="Analytics Endpoint", default=None)
@@ -136,31 +128,6 @@ def main() -> None:
136128
notarization_team_id=args.notarization_team_id,
137129
).sign_and_notarize()
138130

139-
# Create Update Shim
140-
if args.prepare_shim:
141-
shim.GenerateShim().generate()
142-
if Path("dist/OpenCore-Patcher.app").exists():
143-
if Path("dist/OpenCore-Patcher (Original).app").exists():
144-
Path("dist/OpenCore-Patcher (Original).app").unlink()
145-
Path("dist/OpenCore-Patcher.app").rename("dist/OpenCore-Patcher (Original).app")
146-
Path("dist/OpenCore-Patcher (Shim).app").rename("dist/OpenCore-Patcher.app")
147-
148-
# Update app version in Info.plist
149-
plist_path = Path("dist/OpenCore-Patcher.app/Contents/Info.plist")
150-
contents = plistlib.load(plist_path.open("rb"))
151-
contents["CFBundleVersion"] = constants.Constants().patcher_version
152-
contents["CFBundleShortVersionString"] = constants.Constants().patcher_version
153-
plistlib.dump(contents, plist_path.open("wb"))
154-
155-
sign_notarize.SignAndNotarize(
156-
path=Path("dist/OpenCore-Patcher.app"),
157-
signing_identity=args.application_signing_identity,
158-
notarization_apple_id=args.notarization_apple_id,
159-
notarization_password=args.notarization_password,
160-
notarization_team_id=args.notarization_team_id,
161-
entitlements=Path("./ci_tooling/entitlements/entitlements.plist"),
162-
).sign_and_notarize()
163-
164131

165132
if __name__ == '__main__':
166133
_start = time.time()

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## 2.3.0
44
- Disable crash analytics
55
- Disabled server side for years, removing client side
6+
- `OpenCore-Patcher-GUI.app.zip` removed from release
7+
- Deprecated in 1.5.0, use `OpenCore-Patcher.pkg` for installation
68

79
## 2.2.0
810
- Resolved non-metal accessibility zoom on macOS Sonoma/Sequoia

ci_tooling/build_modules/shim.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

ci_tooling/update_shim/OpenCore-Patcher.app/Contents/Info.plist

Lines changed: 0 additions & 30 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

ci_tooling/update_shim/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)