mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-21 14:56:37 +08:00
Compare commits
No commits in common. "master" and "1.0.35" have entirely different histories.
38
.github/workflows/build-all.yml
vendored
38
.github/workflows/build-all.yml
vendored
@ -15,8 +15,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
outputs:
|
outputs:
|
||||||
release_tag_name: ${{ env.release_tag_name }}
|
release_tag_name: ${{ env.release_tag_name }}
|
||||||
build_meta: ${{ env.build_meta }}
|
build_meta: ${{ env.build_meta }}
|
||||||
@ -52,8 +50,6 @@ jobs:
|
|||||||
build-linux-amd64:
|
build-linux-amd64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@ -79,8 +75,6 @@ jobs:
|
|||||||
build-linux-arm64:
|
build-linux-arm64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@ -106,8 +100,6 @@ jobs:
|
|||||||
build-linux-arm:
|
build-linux-arm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
@ -131,10 +123,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-windows-amd64:
|
build-windows-amd64:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -151,10 +141,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-windows-i386:
|
build-windows-i386:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -171,10 +159,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-windows-arm64:
|
build-windows-arm64:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -191,10 +177,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-macosx-amd64:
|
build-macosx-amd64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -206,10 +190,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'corretto'
|
distribution: 'adopt'
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.10.11'
|
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
||||||
@ -261,10 +242,8 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-macosx-arm64:
|
build-macosx-arm64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
needs: create-release
|
needs: create-release
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -276,10 +255,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'corretto'
|
distribution: 'adopt'
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.10.11'
|
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
||||||
|
2
.github/workflows/build-linux-amd64.yml
vendored
2
.github/workflows/build-linux-amd64.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
./compile_linux.sh amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
./compile_linux.sh amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-amd64.tar.gz
|
name: linux-amd64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
2
.github/workflows/build-linux-arm.yml
vendored
2
.github/workflows/build-linux-arm.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
./compile_linux.sh arm/v6 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
./compile_linux.sh arm/v6 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-arm.tar.gz
|
name: linux-arm.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
2
.github/workflows/build-linux-arm64.yml
vendored
2
.github/workflows/build-linux-arm64.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
./compile_linux.sh arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
./compile_linux.sh arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-arm64.tar.gz
|
name: linux-arm64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
9
.github/workflows/build-macosx-amd64.yml
vendored
9
.github/workflows/build-macosx-amd64.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macosx-amd64:
|
build-macosx-amd64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -26,10 +26,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'corretto'
|
distribution: 'adopt'
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.10.11'
|
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
||||||
@ -69,7 +66,7 @@ jobs:
|
|||||||
rm -rf "${HOME}/private_keys"
|
rm -rf "${HOME}/private_keys"
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macosx-amd64.tar.gz
|
name: macosx-amd64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
9
.github/workflows/build-macosx-arm64.yml
vendored
9
.github/workflows/build-macosx-arm64.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-macosx-arm64:
|
build-macosx-arm64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -26,10 +26,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'corretto'
|
distribution: 'adopt'
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.10.11'
|
|
||||||
- name: Install Apple certificate
|
- name: Install Apple certificate
|
||||||
env:
|
env:
|
||||||
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
BUILD_CERTIFICATE_BASE64: ${{ secrets.APPLE_BUILD_CERTIFICATE_BASE64 }}
|
||||||
@ -69,7 +66,7 @@ jobs:
|
|||||||
rm -rf "${HOME}/private_keys"
|
rm -rf "${HOME}/private_keys"
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: macosx-arm64.tar.gz
|
name: macosx-arm64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
4
.github/workflows/build-windows-amd64.yml
vendored
4
.github/workflows/build-windows-amd64.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows-amd64:
|
build-windows-amd64:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
compile_windows.bat amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
compile_windows.bat amd64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-amd64.tar.gz
|
name: windows-amd64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
4
.github/workflows/build-windows-arm64.yml
vendored
4
.github/workflows/build-windows-arm64.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows-arm64:
|
build-windows-arm64:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
compile_windows.bat arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
compile_windows.bat arm64 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-arm64.tar.gz
|
name: windows-arm64.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
4
.github/workflows/build-windows-i386.yml
vendored
4
.github/workflows/build-windows-i386.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows-i386:
|
build-windows-i386:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
compile_windows.bat 386 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
compile_windows.bat 386 Release ${{ github.event.inputs.repo }} ${{ github.event.inputs.ref }}
|
||||||
-
|
-
|
||||||
name: Export artifacts
|
name: Export artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-i386.tar.gz
|
name: windows-i386.tar.gz
|
||||||
path: out/binary_distrib.tar.gz
|
path: out/binary_distrib.tar.gz
|
||||||
|
@ -32,7 +32,7 @@ RUN ./run_linux.sh
|
|||||||
#Export built files
|
#Export built files
|
||||||
FROM scratch AS export-stage
|
FROM scratch AS export-stage
|
||||||
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
COPY --from=stage /jcef/binary_distrib.tar.gz .
|
||||||
#COPY --from=stage /jcef/target target
|
COPY --from=stage /jcef/target target
|
||||||
#COPY --from=stage /jcef/third_party third_party
|
COPY --from=stage /jcef/third_party third_party
|
||||||
#COPY --from=stage /jcef/buildtools buildtools
|
COPY --from=stage /jcef/buildtools buildtools
|
||||||
#COPY --from=stage /jcef/jcef_build jcef_build
|
COPY --from=stage /jcef/jcef_build jcef_build
|
||||||
|
@ -70,13 +70,9 @@ if [ -f "out/buildtools/clang-format" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#Move jcef_build
|
#Move jcef_build
|
||||||
if [ -f "out/jcef_build" ]; then
|
rm -rf jcef/jcef_build
|
||||||
rm -rf jcef/jcef_build
|
mv out/jcef_build jcef/jcef_build
|
||||||
mv out/jcef_build jcef/jcef_build
|
|
||||||
fi
|
|
||||||
|
|
||||||
#Move target to binary_distrib
|
#Move target to binary_distrib
|
||||||
if [ -f "out/target" ]; then
|
rm -rf jcef/binary_distrib
|
||||||
rm -rf jcef/binary_distrib
|
mv out/target jcef/binary_distrib
|
||||||
mv out/target jcef/binary_distrib
|
|
||||||
fi
|
|
||||||
|
@ -64,7 +64,6 @@ ninja -j4
|
|||||||
|
|
||||||
#Generate distribution
|
#Generate distribution
|
||||||
cd ../tools
|
cd ../tools
|
||||||
sed -i "" 's/--ignore-source-errors//g' make_docs.sh
|
|
||||||
chmod +x make_distrib.sh
|
chmod +x make_distrib.sh
|
||||||
./make_distrib.sh macosx64
|
./make_distrib.sh macosx64
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -28,7 +28,6 @@ chmod +x macosx_codesign_zip.sh
|
|||||||
|
|
||||||
#Sign helpers
|
#Sign helpers
|
||||||
echo "Signing helpers..."
|
echo "Signing helpers..."
|
||||||
cd "$( dirname "$0" )"
|
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app"
|
||||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app" "$2" $3 org.jcef.jcef.helper $4 $5 $6
|
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper.app" "$2" $3 org.jcef.jcef.helper $4 $5 $6
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (GPU).app"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (GPU).app"
|
||||||
@ -37,16 +36,14 @@ codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign
|
|||||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Plugin).app" "$2" $3 org.jcef.jcef.helper.plugin $4 $5 $6
|
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Plugin).app" "$2" $3 org.jcef.jcef.helper.plugin $4 $5 $6
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app"
|
||||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app" "$2" $3 org.jcef.jcef.helper.renderer $4 $5 $6
|
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Renderer).app" "$2" $3 org.jcef.jcef.helper.renderer $4 $5 $6
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_HELPER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Alerts).app"
|
|
||||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/jcef Helper (Alerts).app" "$2" $3 org.jcef.jcef.helper.alerts $4 $5 $6
|
|
||||||
|
|
||||||
#Sign libraries and framework
|
#Sign libraries and framework
|
||||||
echo "Signing libraries and framework..."
|
echo "Signing libraries and framework..."
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libEGL.dylib"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libEGL.dylib"
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libGLESv2.dylib"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libGLESv2.dylib"
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libvk_swiftshader.dylib"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Libraries/libvk_swiftshader.dylib"
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME/Chromium Embedded Framework"
|
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME"
|
||||||
|
bash macosx_notarize.sh "$APP_DIR/$APP_NAME/$FRAMEWORKS_DIR/$FRAMEWORK_NAME" "$2" $3 org.cef.framework $4 $5 $6
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/Contents/Java/libjcef.dylib"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/Contents/Java/libjcef.dylib"
|
||||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/gluegen-rt-natives-macosx-universal.jar" "natives/macosx-universal/libgluegen_rt.dylib" "$2"
|
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/gluegen-rt-natives-macosx-universal.jar" "natives/macosx-universal/libgluegen_rt.dylib" "$2"
|
||||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libnativewindow_awt.dylib" "$2"
|
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libnativewindow_awt.dylib" "$2"
|
||||||
@ -54,7 +51,6 @@ bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-m
|
|||||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_mobile.dylib" "$2"
|
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_mobile.dylib" "$2"
|
||||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libnewt_head.dylib" "$2"
|
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libnewt_head.dylib" "$2"
|
||||||
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_desktop.dylib" "$2"
|
bash macosx_codesign_zip.sh "$APP_DIR/$APP_NAME/Contents/Java/jogl-all-natives-macosx-universal.jar" "natives/macosx-universal/libjogl_desktop.dylib" "$2"
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME/Contents/MacOS/JavaAppLauncher"
|
|
||||||
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME"
|
codesign --force --options runtime --entitlements "$ENTITLEMENTS_BROWSER" --sign "$2" --timestamp --verbose "$APP_DIR/$APP_NAME"
|
||||||
bash macosx_notarize.sh "$APP_DIR/$APP_NAME" "$2" $3 org.jcef.jcef $4 $5 $6
|
bash macosx_notarize.sh "$APP_DIR/$APP_NAME" "$2" $3 org.jcef.jcef $4 $5 $6
|
||||||
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PYTHON=python3
|
|
||||||
|
|
||||||
brew install ninja
|
brew install ninja
|
||||||
brew install six
|
|
||||||
|
|
||||||
"$PYTHON" -m pip list
|
|
||||||
echo "from six.moves import configparser" | "$PYTHON" && echo "Success importing stuff from six moves python module"
|
|
||||||
|
@ -19,9 +19,9 @@ python C:/patch_cmake.py CMakeLists.txt C:/CMakeLists.txt.patch
|
|||||||
mkdir jcef_build && cd jcef_build
|
mkdir jcef_build && cd jcef_build
|
||||||
|
|
||||||
:: Load vcvars for 32 or 64-bit builds
|
:: Load vcvars for 32 or 64-bit builds
|
||||||
if "%TARGETARCH%"=="386" (call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars32.bat")
|
if "%TARGETARCH%"=="386" (call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars32.bat")
|
||||||
if "%TARGETARCH%"=="amd64" (call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat")
|
if "%TARGETARCH%"=="amd64" (call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat")
|
||||||
if "%TARGETARCH%"=="arm64" (call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_arm64.bat")
|
if "%TARGETARCH%"=="arm64" (call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsamd64_arm64.bat")
|
||||||
|
|
||||||
:: Edit PATH variable on 386 to use 32 bit jdk (cmake findjni does not actually care about JAVA_HOME)
|
:: Edit PATH variable on 386 to use 32 bit jdk (cmake findjni does not actually care about JAVA_HOME)
|
||||||
if "%TARGETARCH%"=="386" (set "PATH=C:/Program Files (x86)/Java/jdk1.8.0_211;%PATH%")
|
if "%TARGETARCH%"=="386" (set "PATH=C:/Program Files (x86)/Java/jdk1.8.0_211;%PATH%")
|
||||||
|
Loading…
Reference in New Issue
Block a user