Attempt to fix building (esp. .desktop file matching on Wayland)
This commit is contained in:
parent
4326199454
commit
1299590f5d
|
|
@ -14,13 +14,16 @@ const config: ForgeConfig = {
|
||||||
icon: "res/icon",
|
icon: "res/icon",
|
||||||
extraResource: "res/icon.png",
|
extraResource: "res/icon.png",
|
||||||
ignore: ["dist", "src", "res",], // Workaround for https://github.com/electron/forge/issues/3738
|
ignore: ["dist", "src", "res",], // Workaround for https://github.com/electron/forge/issues/3738
|
||||||
|
executableName: "miller",
|
||||||
|
appCategoryType: 'public.app-category.developer-tools',
|
||||||
|
name: "Miller",
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers: [
|
makers: [
|
||||||
new MakerSquirrel({}),
|
new MakerSquirrel({}),
|
||||||
new MakerZIP({}),
|
new MakerZIP({}),
|
||||||
new MakerRpm({ options: { icon: "res/icon.png" } }),
|
new MakerRpm({ options: { icon: "res/icon.png", categories: ["Development"] } }),
|
||||||
new MakerDeb({ options: { icon: "res/icon.png" } }),
|
new MakerDeb({ options: { icon: "res/icon.png", categories: ["Development"] } }),
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
new VitePlugin({
|
new VitePlugin({
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "miller",
|
"name": "miller",
|
||||||
"productName": "miller",
|
"productName": "miller",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "My Electron application description",
|
"description": "Column-based code editor",
|
||||||
"main": ".vite/build/main.js",
|
"main": ".vite/build/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron-forge start",
|
"start": "electron-forge start",
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
"name": "Quinten Kock",
|
"name": "Quinten Kock",
|
||||||
"email": "quinten@quinten.space"
|
"email": "quinten@quinten.space"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "GPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@codemirror/language-data": "^6.5.2",
|
"@codemirror/language-data": "^6.5.2",
|
||||||
"@codemirror/theme-one-dark": "^6.1.3",
|
"@codemirror/theme-one-dark": "^6.1.3",
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ if (started) {
|
||||||
app.quit();
|
app.quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.setName("miller");
|
||||||
|
|
||||||
const createWindow = () => {
|
const createWindow = () => {
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
const mainWindow = new BrowserWindow({
|
const mainWindow = new BrowserWindow({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue