dugite 2.5.0 → 2.5.2
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/package.json +1 -1
- package/script/config.js +1 -5
- package/script/embedded-git.json +30 -15
package/package.json
CHANGED
package/script/config.js
CHANGED
@@ -14,6 +14,7 @@ function getConfig() {
|
|
14
14
|
tempFile: ''
|
15
15
|
}
|
16
16
|
|
17
|
+
// Possible values are ‘x64’, ‘arm’, ‘arm64’, ‘s390’, ‘s390x’, ‘mipsel’, ‘ia32’, ‘mips’, ‘ppc’ and ‘ppc64’
|
17
18
|
let arch = os.arch();
|
18
19
|
|
19
20
|
if (process.env.npm_config_arch) {
|
@@ -28,11 +29,6 @@ function getConfig() {
|
|
28
29
|
arch = 'ia32';
|
29
30
|
}
|
30
31
|
|
31
|
-
// Os.arch() calls it x32, we use x86 in actions, dugite-native calls it x86 and our embedded-git.json calls it ia32
|
32
|
-
if (arch === 'x32' || arch === 'x86') {
|
33
|
-
arch = 'ia32'
|
34
|
-
}
|
35
|
-
|
36
32
|
const key = `${process.platform}-${arch}`
|
37
33
|
|
38
34
|
const entry = embeddedGit[key]
|
package/script/embedded-git.json
CHANGED
@@ -1,27 +1,42 @@
|
|
1
1
|
{
|
2
2
|
"win32-x64": {
|
3
|
-
"name": "dugite-native-v2.39.3-
|
4
|
-
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3/dugite-native-v2.39.3-
|
5
|
-
"checksum": "
|
3
|
+
"name": "dugite-native-v2.39.3-91ebaa8-windows-x64.tar.gz",
|
4
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-windows-x64.tar.gz",
|
5
|
+
"checksum": "d52c40ac51637970ff8460308fe313daf27290e56a9cf92efbf2308551771660"
|
6
6
|
},
|
7
7
|
"win32-ia32": {
|
8
|
-
"name": "dugite-native-v2.39.3-
|
9
|
-
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3/dugite-native-v2.39.3-
|
10
|
-
"checksum": "
|
8
|
+
"name": "dugite-native-v2.39.3-91ebaa8-windows-x86.tar.gz",
|
9
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-windows-x86.tar.gz",
|
10
|
+
"checksum": "ec9d8c575e1c178c89093c391325b3b291f743f7530ffb9f023c3dd4dcc2d155"
|
11
11
|
},
|
12
12
|
"darwin-x64": {
|
13
|
-
"name": "dugite-native-v2.39.3-
|
14
|
-
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3/dugite-native-v2.39.3-
|
15
|
-
"checksum": "
|
13
|
+
"name": "dugite-native-v2.39.3-91ebaa8-macOS-x64.tar.gz",
|
14
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-macOS-x64.tar.gz",
|
15
|
+
"checksum": "84bcd256345a24ca087632aeb9a14989858f211883646bbd637dde56913a5017"
|
16
16
|
},
|
17
17
|
"darwin-arm64": {
|
18
|
-
"name": "dugite-native-v2.39.3-
|
19
|
-
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3/dugite-native-v2.39.3-
|
20
|
-
"checksum": "
|
18
|
+
"name": "dugite-native-v2.39.3-91ebaa8-macOS-arm64.tar.gz",
|
19
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-macOS-arm64.tar.gz",
|
20
|
+
"checksum": "37467de076043b59d9af274fdef9c2a4e00f0c9112ba9e2b839eae90ea8a9628"
|
21
21
|
},
|
22
22
|
"linux-x64": {
|
23
|
-
"name": "dugite-native-v2.39.3-
|
24
|
-
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3/dugite-native-v2.39.3-
|
25
|
-
"checksum": "
|
23
|
+
"name": "dugite-native-v2.39.3-91ebaa8-ubuntu-x64.tar.gz",
|
24
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-ubuntu-x64.tar.gz",
|
25
|
+
"checksum": "78375b97c802caa33c4ab585e3cf113001f0f53d0ab623ef0086e7c5b819189d"
|
26
|
+
},
|
27
|
+
"linux-ia32": {
|
28
|
+
"name": "dugite-native-v2.39.3-91ebaa8-ubuntu-x86.tar.gz",
|
29
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-ubuntu-x86.tar.gz",
|
30
|
+
"checksum": "1cd3511fc8a51556bdc88393cd344e0c084e7063c281137644765929ee092e8d"
|
31
|
+
},
|
32
|
+
"linux-arm": {
|
33
|
+
"name": "dugite-native-v2.39.3-91ebaa8-ubuntu-arm.tar.gz",
|
34
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-ubuntu-arm.tar.gz",
|
35
|
+
"checksum": "331727414dc0d559758982f62adc9823c01e51ff302b5e5fe9e0cd783e5e1ea5"
|
36
|
+
},
|
37
|
+
"linux-arm64": {
|
38
|
+
"name": "dugite-native-v2.39.3-91ebaa8-ubuntu-arm64.tar.gz",
|
39
|
+
"url": "https://github.com/desktop/dugite-native/releases/download/v2.39.3-1/dugite-native-v2.39.3-91ebaa8-ubuntu-arm64.tar.gz",
|
40
|
+
"checksum": "8af507edf110a285b72e7bc884aa2a3cc2ca09b687f0ea1366d7806c488b7bb6"
|
26
41
|
}
|
27
42
|
}
|