Skip to content

Commit 0002d57

Browse files
committedNov 11, 2024
Update package.json
1 parent ec3528d commit 0002d57

File tree

1 file changed

+51
-7
lines changed

1 file changed

+51
-7
lines changed
 

‎package.json

+51-7
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@
1414
"author": "CrossyAtom46",
1515
"license": "GPL-3.0-or-later",
1616
"description": "MediaHarbor",
17+
"homepage": "https://mediaharbor.github.io",
1718
"build": {
1819
"appId": "AtomDev.MediaHarbor",
1920
"productName": "MediaHarbor",
2021
"asarUnpack": [
22+
"src/funcs/apis/**/*.py",
2123
"src/*.py",
22-
"src/apis.json"
24+
"src/funcs/apis/apis.json"
2325
],
2426
"files": [
2527
"src/**/*",
@@ -30,7 +32,11 @@
3032
"output": "dist"
3133
},
3234
"win": {
33-
"target": ["nsis", "portable", "appx"],
35+
"target": [
36+
"nsis",
37+
"portable",
38+
"appx"
39+
],
3440
"icon": "resources/icon.png"
3541
},
3642
"appx": {
@@ -39,20 +45,55 @@
3945
"identityName": "AtomDevMediaHarbor",
4046
"publisher": "CN=B799C26F-32FE-4398-8D3A-A8667FA3C70A",
4147
"publisherDisplayName": "AtomDev",
42-
"languages": ["en-US"],
48+
"languages": [
49+
"en-US"
50+
],
4351
"displayName": "MediaHarbor",
4452
"showNameOnTiles": false,
4553
"artifactName": "MediaHarbor-${version}-${arch}.${ext}"
4654
},
4755
"mac": {
48-
"target": ["dmg"],
56+
"target": [
57+
"dmg"
58+
],
4959
"icon": "resources/icon.png"
5060
},
5161
"linux": {
52-
"target": ["deb"],
62+
"target": [
63+
"AppImage",
64+
"deb",
65+
"snap"
66+
],
5367
"maintainer": "AtomDev",
5468
"icon": "resources/icons/",
55-
"category": "Utility"
69+
"category": "Utility",
70+
"executableName": "mediaharbor",
71+
"artifactName": "${productName}-${version}.${ext}",
72+
"desktop": {
73+
"Name": "MediaHarbor",
74+
"Comment": "MediaHarbor Application",
75+
"Categories": "Utility;",
76+
"Type": "Application"
77+
},
78+
"publish": [
79+
"github"
80+
]
81+
},
82+
"deb": {
83+
"afterInstall": "resources/postinst.sh"
84+
},
85+
"snap": {
86+
"grade": "stable",
87+
"confinement": "strict",
88+
"plugs": [
89+
"network",
90+
"home",
91+
"process-control"
92+
],
93+
"environment": {
94+
"ELECTRON_ENABLE_LOGGING": "true",
95+
"APPARMOR_PROFILE": "/usr/share/apparmor/profiles/mediaharbor"
96+
}
5697
}
5798
},
5899
"devDependencies": {
@@ -65,7 +106,10 @@
65106
"axios": "^1.7.7",
66107
"cheerio": "^1.0.0",
67108
"electron-store": "^10.0.0",
109+
"fix-path": "^4.0.0",
68110
"sqlite3": "^5.1.7",
111+
"strip-ansi": "^7.1.0",
112+
"sudo-prompt": "^9.2.1",
69113
"sweetalert2": "^11.14.4"
70114
}
71-
}
115+
}

0 commit comments

Comments
 (0)
Failed to load comments.