hcloud-sdk 22.57.0 → 22.58.1
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/changelog.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
## [22.
|
|
1
|
+
## [22.58.1](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/compare/v22.58.0...v22.58.1) (2026-10-27)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
*
|
|
5
|
+
* add support for windows multi arch installers ([dad9ad2](https://github.com/moovit-sp-gmbh/hcloud-sdk-js/commit/dad9ad20216170fc6e4ba3d35eb918ab6b0201a6))
|
|
@@ -38,12 +38,16 @@ class AgentInstaller extends Base_1.default {
|
|
|
38
38
|
.flat()
|
|
39
39
|
.filter(r => r.dev === dev);
|
|
40
40
|
releases.sort((r1, r2) => r2.published_date - r1.published_date);
|
|
41
|
-
const
|
|
41
|
+
const windowsInstallerIntel = releases.find(r => r.arch === "x64" && r.os === "windows");
|
|
42
|
+
const windowsInstallerArm = releases.find(r => r.arch === "arm64" && r.os === "windows");
|
|
42
43
|
const macInstallerIntel = releases.find(r => r.arch === "x64" && r.os === "darwin");
|
|
43
44
|
const macInstallerArm = releases.find(r => r.arch === "arm64" && r.os === "darwin");
|
|
44
45
|
const installers = [];
|
|
45
|
-
if (
|
|
46
|
-
installers.push(
|
|
46
|
+
if (windowsInstallerIntel) {
|
|
47
|
+
installers.push(windowsInstallerIntel);
|
|
48
|
+
}
|
|
49
|
+
if (windowsInstallerArm) {
|
|
50
|
+
installers.push(windowsInstallerArm);
|
|
47
51
|
}
|
|
48
52
|
if (macInstallerIntel) {
|
|
49
53
|
installers.push(macInstallerIntel);
|