Skip to content

Commit

Permalink
fix: safari wasm error
Browse files Browse the repository at this point in the history
  • Loading branch information
admin authored and admin committed Aug 19, 2022
1 parent 60e03e6 commit d6f9265
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
VIRUS_TOTAL_API_KEY: ${{secrets.VIRUS_TOTAL_API_KEY}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
docker run --rm -v `pwd`:/home:rw enkrypt-build-container /bin/bash -c "cd packages/extension && yarn build:all && yarn zip"
docker run --rm -v `pwd`:/home:rw enkrypt-build-container /bin/bash -c "cd packages/extension && yarn build:all"
docker run --rm -v `pwd`:/home:rw enkrypt-build-container /bin/bash -c "cd packages/extension && yarn build:chrome && yarn zip"
FILE_SHA256=`sha256sum ./packages/extension/dist/release.zip | awk '{print $1}'`
curl --request GET --url https://www.virustotal.com/api/v3/files/upload_url --header "x-apikey: $VIRUS_TOTAL_API_KEY"
UPLOAD_URL=`curl --request GET --url https://www.virustotal.com/api/v3/files/upload_url --header "x-apikey: $VIRUS_TOTAL_API_KEY" | jq --raw-output '.data'`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
name: safari-build-artifact
path: packages/extension/dist

- name: Deploy iOS Beta to TestFlight via Fastlane
- name: Deploy via Fastlane
uses: maierj/[email protected]
with:
lane: "buildandrelease"
Expand Down
3 changes: 2 additions & 1 deletion packages/extension/configs/browser-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ const setConfig = (config) => {
const _base = args[0]["process.env"];
args[0]["process.env"] = {
..._base,
IS_MANIFEST_V3: BROWSER === browserNames.chrome,
IS_MANIFEST_V3:
BROWSER === browserNames.chrome || BROWSER === browserNames.safari,
PACKAGE_VERSION: JSON.stringify(package.version),
IS_DEV: process.env.NODE_ENV === "development",
IS_FIREFOX: BROWSER === browserNames.firefox,
Expand Down

1 comment on commit d6f9265

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.