mirror of
https://github.com/fluxscape/fluxscape.git
synced 2026-01-11 14:52:54 +01:00
feat: build (#13)
This commit is contained in:
@@ -12,7 +12,7 @@ module.exports = async function (params) {
|
||||
return;
|
||||
}
|
||||
|
||||
const appId = 'noodl.net.noodl';
|
||||
const appId = 'fluxscape.net.fluxscape';
|
||||
|
||||
const appPath = path.join(params.appOutDir, `${params.packager.appInfo.productFilename}.app`);
|
||||
if (!fs.existsSync(appPath)) {
|
||||
|
||||
@@ -15,17 +15,30 @@
|
||||
"test:ci": "webpack-cli --config=webpackconfigs/webpack.test-ci.js && electron test.js"
|
||||
},
|
||||
"build": {
|
||||
"appId": "noodl.net.noodl-editor",
|
||||
"appId": "fluxscape.net.fluxscape",
|
||||
"afterSign": "./build/macos-notarize.js",
|
||||
"mac": {
|
||||
"hardenedRuntime": true,
|
||||
"entitlements": "build/entitlements.mac.plist",
|
||||
"extendInfo": {
|
||||
"LSMultipleInstancesProhibited": true,
|
||||
"NSMicrophoneUsageDescription": "Allow Fluxscape apps that you create and run to access the microphone?",
|
||||
"NSCameraUsageDescription": "Allow Fluxscape apps that you create and run to access the camera?"
|
||||
}
|
||||
},
|
||||
"win": {
|
||||
"target": "nsis"
|
||||
},
|
||||
"nsis": {
|
||||
"guid": "noodl.net.noodl-editor"
|
||||
"guid": "fluxscape.net.fluxscape"
|
||||
},
|
||||
"linux": {
|
||||
"target": "deb"
|
||||
},
|
||||
"protocols": {
|
||||
"name": "noodl",
|
||||
"name": "fluxscape",
|
||||
"schemes": [
|
||||
"noodl"
|
||||
"fluxscape"
|
||||
]
|
||||
},
|
||||
"npmRebuild": false,
|
||||
|
||||
Reference in New Issue
Block a user