mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
Uploading platform.init
This commit is contained in:
8
.github/workflows/macos-release-build.yml
vendored
8
.github/workflows/macos-release-build.yml
vendored
@@ -142,6 +142,7 @@ jobs:
|
|||||||
set -ex
|
set -ex
|
||||||
mv ./dist/*.dmg ./zen-${{ matrix.arch }}-apple-darwin-dist.dmg
|
mv ./dist/*.dmg ./zen-${{ matrix.arch }}-apple-darwin-dist.dmg
|
||||||
mv ./engine/obj-${{ matrix.arch }}-apple-darwin/dist/host/bin/mar ./zen-macos-host-mar
|
mv ./engine/obj-${{ matrix.arch }}-apple-darwin/dist/host/bin/mar ./zen-macos-host-mar
|
||||||
|
mv ./engine/obj-${{ matrix.arch }}-apple-darwin/dist/bin/platform.ini ./platform.ini
|
||||||
|
|
||||||
- name: Upload dist dmg
|
- name: Upload dist dmg
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -158,3 +159,10 @@ jobs:
|
|||||||
name: zen-macos-host-mar
|
name: zen-macos-host-mar
|
||||||
path: ./zen-macos-host-mar
|
path: ./zen-macos-host-mar
|
||||||
|
|
||||||
|
- name: Upload platform.ini
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
if: matrix.arch == 'x86_64'
|
||||||
|
with:
|
||||||
|
retention-days: 1
|
||||||
|
name: platform.ini
|
||||||
|
path: ./platform.ini
|
||||||
|
@@ -173,8 +173,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd engine
|
cd engine
|
||||||
echo "Copying provisioning profile for .app on both architectures (${{ env.APP_NAME }})"
|
echo "Copying provisioning profile for .app on both architectures (${{ env.APP_NAME }})"
|
||||||
cp ./Zen_Browser.provisionprofile "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app/Contents/embedded.provisionprofile"
|
# cp ./Zen_Browser.provisionprofile "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app/Contents/embedded.provisionprofile"
|
||||||
cp ./Zen_Browser.provisionprofile "./obj-aarch64-apple-darwin/dist/${{ env.APP_NAME }}.app/Contents/embedded.provisionprofile"
|
# cp ./Zen_Browser.provisionprofile "./obj-aarch64-apple-darwin/dist/${{ env.APP_NAME }}.app/Contents/embedded.provisionprofile"
|
||||||
|
|
||||||
- name: Unify architectures
|
- name: Unify architectures
|
||||||
run: |
|
run: |
|
||||||
@@ -192,7 +192,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd engine
|
cd engine
|
||||||
# TODO: Change it to "production" once we figure out the issue with the webauth
|
# TODO: Change it to "production" once we figure out the issue with the webauth
|
||||||
./mach macos-sign -v -r -c "release" -e "production" -a "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app" --rcodesign-p12-file zenCert.p12 --rcodesign-p12-password-file zenpCertPassword.passwd
|
./mach macos-sign -v -r -c "release" -e "production-without-restricted" -a "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app" --rcodesign-p12-file zenCert.p12 --rcodesign-p12-password-file zenpCertPassword.passwd
|
||||||
|
|
||||||
- name: Remove sensitive information
|
- name: Remove sensitive information
|
||||||
run: |
|
run: |
|
||||||
@@ -233,6 +233,11 @@ jobs:
|
|||||||
name: zen.macos-universal.dmg
|
name: zen.macos-universal.dmg
|
||||||
path: ./zen.macos-universal.dmg
|
path: ./zen.macos-universal.dmg
|
||||||
|
|
||||||
|
- name: Download platform.ini
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: platform.ini
|
||||||
|
|
||||||
- name: Package for mar
|
- name: Package for mar
|
||||||
env:
|
env:
|
||||||
JUST_MAR: true
|
JUST_MAR: true
|
||||||
@@ -240,6 +245,8 @@ jobs:
|
|||||||
# we don't need it anymore
|
# we don't need it anymore
|
||||||
set -ex
|
set -ex
|
||||||
rm -rf ./engine/obj-aarch64-apple-darwin
|
rm -rf ./engine/obj-aarch64-apple-darwin
|
||||||
|
mkdir -p ./engine/obj-x86_64-apple-darwin/dist/bin
|
||||||
|
mv ./platform.ini ./engine/obj-x86_64-apple-darwin/dist/bin/platform.ini
|
||||||
export SURFER_PLATFORM="darwin"
|
export SURFER_PLATFORM="darwin"
|
||||||
export ZEN_RELEASE=1
|
export ZEN_RELEASE=1
|
||||||
# full path to zen-macos-host-mar
|
# full path to zen-macos-host-mar
|
||||||
|
Reference in New Issue
Block a user