@chahuadev/chahuadev-hub-app 3.1.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +4 -1
- package/package.json +39 -39
package/install.js
CHANGED
|
@@ -7,7 +7,7 @@ const os = require('os');
|
|
|
7
7
|
const platform = os.platform();
|
|
8
8
|
const arch = os.arch();
|
|
9
9
|
|
|
10
|
-
const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev';
|
|
10
|
+
const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev/hub';
|
|
11
11
|
|
|
12
12
|
let downloadUrl = '';
|
|
13
13
|
let fileName = '';
|
|
@@ -18,6 +18,9 @@ if (platform === 'win32') {
|
|
|
18
18
|
} else if (platform === 'linux') {
|
|
19
19
|
downloadUrl = `${R2_BASE}/Chahuadev-Hub.AppImage`;
|
|
20
20
|
fileName = 'Chahuadev-Hub.AppImage';
|
|
21
|
+
} else if (platform === 'darwin') {
|
|
22
|
+
downloadUrl = `${R2_BASE}/Chahuadev-Hub`;
|
|
23
|
+
fileName = 'Chahuadev-Hub';
|
|
21
24
|
} else {
|
|
22
25
|
console.warn(`Chahuadev Hub does not support ${platform} ${arch} yet.`);
|
|
23
26
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@chahuadev/chahuadev-hub-app",
|
|
3
|
+
"version": "7.0.0",
|
|
4
|
+
"description": "Chahuadev Hub” Official app launcher and distribution hub by Chahuadev",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"chahuadev-hub": "index.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"postinstall": "node install.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"index.js",
|
|
14
|
+
"install.js"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"chahuadev",
|
|
18
|
+
"chahuadev-hub",
|
|
19
|
+
"app-launcher",
|
|
20
|
+
"distribution",
|
|
21
|
+
"hub",
|
|
22
|
+
"electron",
|
|
23
|
+
"python"
|
|
24
|
+
],
|
|
25
|
+
"author": {
|
|
26
|
+
"name": "Chahuadev",
|
|
27
|
+
"email": "chahuadev@gmail.com",
|
|
28
|
+
"url": "https://huggingface.co/chahuadev"
|
|
29
|
+
},
|
|
30
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://huggingface.co/datasets/chahuadev/chahuadev-hub"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://huggingface.co/chahuadev"
|
|
39
|
+
}
|