Skip to content

Commit

Permalink
🔀 Merge pull request #310 from kando-menu/fix/executable-name
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans authored Jan 11, 2024
2 parents 7e283a6 + 6b91e23 commit 4172c9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { rendererConfig } from './webpack.renderer.config';
const config: ForgeConfig = {
packagerConfig: {
icon: 'assets/icons/icon',
executableName: 'kando',

// This makes sure that the app is not shown in the dock on macOS.
extendInfo: {
Expand Down Expand Up @@ -91,4 +90,11 @@ if (process.env.KANDO_OSX_NOTARIZE === 'true') {
}
}

// On Windows and Linux, we need to set the executable name to "kando".
if (process.platform !== 'darwin') {
if (config.packagerConfig) {
config.packagerConfig.executableName = 'kando';
}
}

export default config;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4172c9a

Please sign in to comment.