Fix path.
This commit is contained in:
parent
cd8ffbb3f9
commit
511e341cdc
|
@ -27,9 +27,7 @@ jobs:
|
|||
|
||||
- name: build
|
||||
run: |
|
||||
cd ClashX
|
||||
python3 add_build_info.py
|
||||
cd ..
|
||||
python3 ClashX/add_build_info.py
|
||||
xcodebuild archive -workspace ClashX.xcworkspace -scheme ClashX -archivePath archive/ClashX.xcarchive -showBuildTimingSummary -allowProvisioningUpdates
|
||||
|
||||
- name: create zip
|
||||
|
|
|
@ -5,7 +5,7 @@ import os
|
|||
|
||||
|
||||
def write_to_info():
|
||||
path = "info.plist"
|
||||
path = "ClashX/info.plist"
|
||||
|
||||
with open(path, 'rb') as f:
|
||||
contents = plistlib.load(f)
|
||||
|
@ -20,7 +20,7 @@ def write_to_info():
|
|||
buildVersion = subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"]).strip().decode()
|
||||
contents["CFBundleShortVersionString"] = buildVersion
|
||||
|
||||
coreVersion = subprocess.check_output(["Resources/com.metacubex.ClashX.ProxyConfigHelper.meta", "-v"]).strip().decode().split()[2]
|
||||
coreVersion = subprocess.check_output(["ClashX/Resources/com.metacubex.ClashX.ProxyConfigHelper.meta", "-v"]).strip().decode().split()[2]
|
||||
contents["coreVersion"] = coreVersion
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue