diff --git a/icons/512x512.png b/icons/512x512.png new file mode 100644 index 0000000..11bbbbb Binary files /dev/null and b/icons/512x512.png differ diff --git a/package.json b/package.json index 620973a..b9f31c2 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "dev": "concurrently -k \"BROWSER=none npm start\" \"npm:electron\"", "setup": "npm run build && cp package.json ./build", "package": "npm run setup && electron-builder --linux snap -p never", + "build-app-image": "npm run setup && electron-builder --linux AppImage -p never", "electron": "npm run setup && wait-on tcp:3000 && electron build/", "lint": "eslint ./**/*.{ts,tsx}" }, @@ -90,7 +91,11 @@ ] }, "build": { - "appId": "org.marabesi.json-tool" + "productName":"json-tool", + "appId": "org.marabesi.json-tool", + "linux": { + "category": "Utility" + } }, "jest": { "transformIgnorePatterns": [ diff --git a/public/electron.js b/public/electron.js index d5fe02e..3d6d844 100644 --- a/public/electron.js +++ b/public/electron.js @@ -6,11 +6,11 @@ const path = require('path') function createWindow () { const isDev = app.isPackaged === false - // Create the browser window. const mainWindow = new BrowserWindow({ width: 800, height: 600, show: false, + icon: `${__dirname}/logo512.png`, webPreferences: { nodeIntegration: true } diff --git a/public/favicon.ico b/public/favicon.ico index a11777c..3bc33d9 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/logo192.png b/public/logo192.png index fc44b0a..c0b0a3f 100644 Binary files a/public/logo192.png and b/public/logo192.png differ diff --git a/public/logo512.png b/public/logo512.png index a4e47a6..11bbbbb 100644 Binary files a/public/logo512.png and b/public/logo512.png differ diff --git a/public/manifest.json b/public/manifest.json index 080d6c7..d413f98 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "Json tool", + "name": "JSON utility tool", "icons": [ { "src": "favicon.ico",