Skip to content

Commit

Permalink
upgrades electron deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslopezj committed Aug 24, 2023
1 parent 5bc5256 commit 5777f35
Show file tree
Hide file tree
Showing 4 changed files with 586 additions and 452 deletions.
4 changes: 4 additions & 0 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
</dict>
</plist>
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "justo-crisp",
"version": "0.7.5",
"version": "0.8.0",
"license": "MIT",
"description": "Crisp POS",
"author": "nicolaslopezj",
Expand All @@ -22,7 +22,7 @@
"easy-auto-launch": "^6.0.2",
"electron-log": "^5.0.0-beta.25",
"electron-store": "^8.1.0",
"electron-updater": "^5.3.0",
"electron-updater": "^6.1.1",
"express": "^4.18.2",
"find-process": "^1.4.7",
"sudo-prompt": "^9.2.1",
Expand All @@ -32,22 +32,22 @@
"ws": "^8.13.0"
},
"devDependencies": {
"@electron/notarize": "^1.2.3",
"@electron/notarize": "^2.1.0",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.13",
"@types/electron": "^1.6.10",
"@types/express": "^4.17.17",
"@types/tcp-port-used": "^1.0.1",
"@types/uuid": "^9.0.1",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@types/uuid": "^9.0.2",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"electron": "^23.2.0",
"electron-builder": "^23.6.0",
"electron-builder": "^24.6.3",
"electron-builder-notarize": "^1.5.1",
"eslint": "^8.36.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-unused-imports": "^2.0.0",
"typescript": "^5.0.2"
"eslint": "^8.47.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-unused-imports": "^3.0.0",
"typescript": "^5.1.6"
}
}
18 changes: 8 additions & 10 deletions scripts/notarize.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
const { notarize } = require('electron-notarize');
require('dotenv').config();
import {notarize} from '@electron/notarize'

exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context;
const {electronPlatformName, appOutDir} = context
if (electronPlatformName !== 'darwin') {
return;
return
}

const appName = context.packager.appInfo.productFilename;
const appName = context.packager.appInfo.productFilename

// Package your app here, and code sign with hardened runtime
await notarize({
appBundleId: 'com.getjusto.crisp',
tool: 'notarytool',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_PASSWORD,
teamId: process.env.APPLE_TEAM_ID,
});
};
appleIdPassword: process.env.APPLE_APP_SPECIFIC_PASSWORD,
teamId: process.env.APPLE_TEAM_ID
})
}
Loading

0 comments on commit 5777f35

Please sign in to comment.