From 1299590f5db191662b95794048c390514516381e Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Sun, 30 Nov 2025 01:59:11 +0100 Subject: [PATCH] Attempt to fix building (esp. .desktop file matching on Wayland) --- forge.config.ts | 7 +++++-- package.json | 4 ++-- src/main/main.ts | 2 ++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index ae93add..f35d650 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -14,13 +14,16 @@ const config: ForgeConfig = { icon: "res/icon", extraResource: "res/icon.png", ignore: ["dist", "src", "res",], // Workaround for https://github.com/electron/forge/issues/3738 + executableName: "miller", + appCategoryType: 'public.app-category.developer-tools', + name: "Miller", }, rebuildConfig: {}, makers: [ new MakerSquirrel({}), new MakerZIP({}), - new MakerRpm({ options: { icon: "res/icon.png" } }), - new MakerDeb({ options: { icon: "res/icon.png" } }), + new MakerRpm({ options: { icon: "res/icon.png", categories: ["Development"] } }), + new MakerDeb({ options: { icon: "res/icon.png", categories: ["Development"] } }), ], plugins: [ new VitePlugin({ diff --git a/package.json b/package.json index 7252a78..9a94df9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "miller", "productName": "miller", "version": "0.1.0", - "description": "My Electron application description", + "description": "Column-based code editor", "main": ".vite/build/main.js", "scripts": { "start": "electron-forge start", @@ -17,7 +17,7 @@ "name": "Quinten Kock", "email": "quinten@quinten.space" }, - "license": "MIT", + "license": "GPL-3.0-or-later", "devDependencies": { "@codemirror/language-data": "^6.5.2", "@codemirror/theme-one-dark": "^6.1.3", diff --git a/src/main/main.ts b/src/main/main.ts index eb52403..e7a43f2 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -19,6 +19,8 @@ if (started) { app.quit(); } +app.setName("miller"); + const createWindow = () => { // Create the browser window. const mainWindow = new BrowserWindow({