mirror of https://github.com/DJ2LS/FreeDATA
test with universal support
This commit is contained in:
parent
c6e3d9169e
commit
56de66e68e
|
@ -2,12 +2,13 @@ const { notarize } = require('@electron/notarize');
|
|||
|
||||
async function notarizing(context) {
|
||||
const { electronPlatformName, appOutDir } = context;
|
||||
console.log("platform:" + electronPlatformName)
|
||||
console.log("Notarization...")
|
||||
if (electronPlatformName !== 'darwin') {
|
||||
console.log("not a APPLE system")
|
||||
console.log("--> Platform:" + electronPlatformName + " detected: not a APPLE system. Skipping")
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("--> Platform:" + electronPlatformName + " detected: Trying to notarize app.")
|
||||
const appName = context.packager.appInfo.productFilename;
|
||||
|
||||
return await notarize({
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
||||
"appId": "app.freedata",
|
||||
"asar": true,
|
||||
"afterPack": "build/notarize_macos.js",
|
||||
"afterSign": "build/notarize_macos.js",
|
||||
"productName": "FreeDATA",
|
||||
"directories": {
|
||||
"output": "release"
|
||||
|
@ -30,14 +30,18 @@
|
|||
|
||||
"mac": {
|
||||
"target": [
|
||||
"dmg"
|
||||
"default"
|
||||
],
|
||||
"arch": [
|
||||
"x64",
|
||||
"universal"
|
||||
],
|
||||
"icon": "build/icon.png",
|
||||
"hardenedRuntime": true,
|
||||
"entitlements": "build/entitlements.plist",
|
||||
"entitlementsInherit": "build/entitlements.plist",
|
||||
"gatekeeperAssess": false,
|
||||
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
|
||||
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
|
||||
},
|
||||
"win": {
|
||||
"icon": "build/icon.png",
|
||||
|
|
|
@ -134,7 +134,7 @@ class TCIParam:
|
|||
|
||||
@dataclass
|
||||
class Modem:
|
||||
version = "0.11.0-alpha.1-vuejs"
|
||||
version = "0.11.0-alpha.2"
|
||||
host: str = "0.0.0.0"
|
||||
port: int = 3000
|
||||
SOCKET_TIMEOUT: int = 1 # seconds
|
||||
|
|
Loading…
Reference in New Issue