Skip to content

Commit 71dd184

Browse files
committed
Updated exclude files in electron builder config
1 parent 6e1261b commit 71dd184

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed

build/notarize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = async (context) => {
1515
return
1616
}
1717

18-
const appId = 'com.electron.app'
18+
const appId = 'com.iris.app'
1919

2020
const { appOutDir } = context
2121

electron-builder.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
appId: com.electron.app
1+
appId: com.iris.app
22
productName: Iris
33
directories:
44
buildResources: build
@@ -9,6 +9,14 @@ files:
99
- '!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
1010
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
1111
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
12+
- '!fs-mod/target/**'
13+
- '!fs-mod/target/**/**'
14+
- '!fs-mod/src/**'
15+
- '!fs-mod/npm/**'
16+
- '!fs-mod/npm/**/**'
17+
- '!fs-mod/__test__/*'
18+
- '!node_modules/*'
19+
- '!dist/*'
1220
asarUnpack:
1321
- resources/**
1422
afterSign: build/notarize.js
@@ -22,18 +30,15 @@ nsis:
2230
mac:
2331
entitlementsInherit: build/entitlements.mac.plist
2432
extendInfo:
25-
- NSCameraUsageDescription: Application requests access to the device's camera.
26-
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
2733
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
28-
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
2934
dmg:
3035
artifactName: ${name}-${version}.${ext}
3136
linux:
3237
target:
3338
- AppImage
3439
- snap
3540
- deb
36-
maintainer: electronjs.org
41+
maintainer: alexwkleung
3742
category: Utility
3843
appImage:
3944
artifactName: ${name}-${version}.${ext}

makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ dev:
66
test:
77
npm run test
88

9+
.PHONY: build-mac
10+
build-mac:
11+
npm run build:mac

package-lock.json

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@electron-toolkit/preload": "^1.0.3",
2929
"@electron-toolkit/utils": "^1.0.2",
3030
"@napi-rs/cli": "^2.15.2",
31-
"crelt": "^1.0.6",
3231
"electron-updater": "^5.3.0",
3332
"fs-mod": "./fs-mod",
3433
"prosemirror-commands": "^1.5.2",
@@ -57,6 +56,7 @@
5756
"eslint": "^8.40.0",
5857
"typescript": "^4.9.5",
5958
"vite": "^4.2.1",
60-
"vitest": "^0.31.4"
59+
"vitest": "^0.31.4",
60+
"crelt": "^1.0.6"
6161
}
6262
}

0 commit comments

Comments
 (0)