diff --git a/electron-builder.yml b/electron-builder.yml index 45cd01b..4051a3a 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -25,7 +25,6 @@ files: - node_modules/mimic-fn/**/* - node_modules/semver/**/* - node_modules/onetime/**/* - - node_modules/uuid/**/* - "!node_modules/**/*.ts" - "!node_modules/**/*.map" asar: true @@ -43,6 +42,7 @@ nsis: allowToChangeInstallationDirectory: true createDesktopShortcut: true createStartMenuShortcut: true + shortcutName: Krunker Civilian Client artifactName: "${productName}-${version}-Setup.${ext}" portable: diff --git a/package.json b/package.json index a9a6830..36b111e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "krunker-civilian-client", - "version": "0.5.3", + "version": "0.5.4", "description": "Cross-platform Krunker game client", "main": "dist/main/index.js", "homepage": "https://gitea.crjlab.net/bigjakk/krunker-civilian-client", diff --git a/src/main/index.ts b/src/main/index.ts index a089e0a..fe117c3 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -54,6 +54,9 @@ const advancedConfig = { ...advancedDefaults, ...config.get('advanced') }; const perfConfig = { fpsUnlocked: true, ...config.get('performance') }; applyPlatformFlags(platformInfo, advancedConfig, perfConfig); +// ── App identity (must match electron-builder appId for taskbar pin persistence) ── +app.setAppUserModelId('com.krunkercivilian.client'); + // ── Resource swapper protocol (must register before app.ready) ── initSwapperProtocol();