Skip to content

Commit 1df47ef

Browse files
committed
fix(appimage): desktop file validate
Set the application category. fix #53
1 parent e6a7deb commit 1df47ef

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

electron-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ productName: Breader
44
artifactName: ${productName}-${version}.${ext}
55
asar: true
66
mac:
7-
category: news
7+
category: public.app-category.news
88
icon: build/icons/mac/app.icns
99
linux:
10-
category: news
10+
category: Network
1111
icon: build/icons/png
1212
win:
1313
icon: build/icons/win/app.ico

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
}
5757
},
5858
"dependencies": {
59+
"@sentry/electron": "^0.17.4",
5960
"chardet": "^0.8.0",
6061
"custom-electron-titlebar": "^3.1.0",
6162
"electron-is-dev": "^1.0.1",
@@ -68,7 +69,6 @@
6869
"@commitlint/config-conventional": "^8.2.0",
6970
"@jest-runner/electron": "^2.0.2",
7071
"@sentry/cli": "^1.47.2",
71-
"@sentry/electron": "^0.17.4",
7272
"@types/chardet": "^0.5.0",
7373
"@types/enzyme": "^3.10.3",
7474
"@types/enzyme-adapter-react-16": "^1.0.5",

public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="shortcut icon" href="./favicon.ico" />
66
<meta
77
name="viewport"
88
content="width=device-width, initial-scale=1, shrink-to-fit=no"
@@ -13,7 +13,7 @@
1313
manifest.json provides metadata used when your web app is installed on a
1414
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1515
-->
16-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16+
<link rel="manifest" href="./manifest.json" />
1717
<!--
1818
Notice the use of %PUBLIC_URL% in the tags above.
1919
It will be replaced with the URL of the `public` folder during the build.
@@ -30,7 +30,7 @@
3030
<noscript>You need to enable JavaScript to run this app.</noscript>
3131
<div id="root">
3232
<div class="page-loading">
33-
<img width="96" height="96" src="%PUBLIC_URL%/icon.png" alt="breader" />
33+
<img width="96" height="96" src="./icon.png" alt="breader" />
3434
</div>
3535
</div>
3636
<!--

0 commit comments

Comments
 (0)