Skip to content

Commit 0073f0c

Browse files
committed
Fix deb package naming & icon handling
1 parent a25d8ed commit 0073f0c

File tree

6 files changed

+101
-5
lines changed

6 files changed

+101
-5
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"appId": "tech.httptoolkit.desktop",
2727
"extends": null,
2828
"productName": "HTTP Toolkit",
29+
"extraMetadata": { "name": "httptoolkit" },
2930
"files": [
3031
"**/*",
3132
"build/**/*",
@@ -49,7 +50,7 @@
4950
],
5051
"win": {
5152
"target": ["nsis"],
52-
"icon": "./src/icon.ico",
53+
"icon": "./src/icons/icon.ico",
5354
"forceCodeSigning": true
5455
},
5556
"linux": {
@@ -58,13 +59,11 @@
5859
],
5960
"executableName": "httptoolkit",
6061
"category": "Development",
61-
"icon": "src/icon.png",
62+
"icon": "./src/icons/icon.svg",
6263
"maintainer": "[email protected]",
6364
"desktop": {
6465
"Name": "HTTP Toolkit",
6566
"Comment": "HTTP(S) debugging, development & testing tool",
66-
"Terminal": "false",
67-
"Type": "Application",
6867
"Categories": "Development;Network",
6968
"StartupNotify": true
7069
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/icons/icon.svg

Lines changed: 98 additions & 0 deletions
Loading

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const createWindow = () => {
7676

7777
const window = new BrowserWindow({
7878
title: 'HTTP Toolkit',
79-
icon: path.join(__dirname, 'src', 'icon.png'),
8079
backgroundColor: '#d8e2e6',
8180

8281
minWidth: 1024,

0 commit comments

Comments
 (0)