diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8052443..46afd0c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -34,9 +34,9 @@ jobs: APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} run: npx electron-forge publish --platform=darwin --arch=x64 - - name: build arm64 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - APPLE_ID: ${{ secrets.APPLE_ID }} - APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} - run: npx electron-forge publish --platform=darwin --arch=arm64 \ No newline at end of file + # - name: build arm64 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # APPLE_ID: ${{ secrets.APPLE_ID }} + # APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} + # run: npx electron-forge publish --platform=darwin --arch=arm64 \ No newline at end of file diff --git a/package.json b/package.json index 82a280d..3b1cbac 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Raindrop.io", "productName": "Raindrop.io", - "version": "5.2.48", + "version": "5.2.49", "description": "Crossplatform bookmarking app", "main": "src/index.js", "repository": { diff --git a/src/index.js b/src/index.js index 0045c49..fb61de0 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,9 @@ const contextMenu = require('./contextMenu') const navigation = require('./navigation') const window = require('./window') +//fix webview fail for twitter +app.commandLine.appendSwitch("disable-features", "CrossOriginOpenerPolicy") + app.enableSandbox() app.on('ready', function() {