Skip to content

Commit f996c49

Browse files
committed
feat: add macOS app icon support and update icon generation process
1 parent 6cfcb5b commit f996c49

49 files changed

Lines changed: 180 additions & 40 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/electron/forge.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const { FusesPlugin } = require('@electron-forge/plugin-fuses');
22
const { AutoUnpackNativesPlugin } = require('@electron-forge/plugin-auto-unpack-natives');
33
const { FuseV1Options, FuseVersion } = require('@electron/fuses');
44
const path = require('node:path');
5+
const vendorRuntimeDependencies = require('./scripts/vendor-runtime-dependencies.cjs');
56

67
const iconBasePath = path.resolve(__dirname, 'images', 'icon');
78
const pngIconPath = path.resolve(__dirname, 'images', 'icon.png');
@@ -117,6 +118,7 @@ module.exports = {
117118
appBundleId: process.env.STARQUERY_MAC_BUNDLE_ID || 'com.interaapps.starquery',
118119
appCategoryType:
119120
process.env.STARQUERY_MAC_APP_CATEGORY || 'public.app-category.developer-tools',
121+
afterCopy: [vendorRuntimeDependencies],
120122
...(macSignConfig ? { osxSign: macSignConfig } : {}),
121123
...(macNotarizeConfig ? { osxNotarize: macNotarizeConfig } : {}),
122124
},
-41.3 KB
836 Bytes
838 Bytes
17.6 KB
9.3 KB
918 Bytes
914 Bytes
972 Bytes
2.26 KB

0 commit comments

Comments
 (0)