Skip to content

Commit

Permalink
feat: json tool icon
Browse files Browse the repository at this point in the history
refs #10
  • Loading branch information
marabesi committed Oct 30, 2021
1 parent 08dab15 commit ca34c39
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
Binary file added icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
},
Expand Down Expand Up @@ -90,7 +91,11 @@
]
},
"build": {
"appId": "org.marabesi.json-tool"
"productName":"json-tool",
"appId": "org.marabesi.json-tool",
"linux": {
"category": "Utility"
}
},
"jest": {
"transformIgnorePatterns": [
Expand Down
2 changes: 1 addition & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
Binary file modified public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ca34c39

Please sign in to comment.