Attempt to fix building (esp. .desktop file matching on Wayland)

This commit is contained in:
Quinten Kock 2025-11-30 01:59:11 +01:00
parent 4326199454
commit 1299590f5d
3 changed files with 9 additions and 4 deletions

View File

@ -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({

View File

@ -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",

View File

@ -19,6 +19,8 @@ if (started) {
app.quit();
}
app.setName("miller");
const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({