@railway/cli 1.2.2 → 1.4.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.
@@ -19,15 +19,6 @@ async function install() {
19
19
  // Fetch Static Config
20
20
  let { name: binName, path: binPath, url } = CONFIG;
21
21
 
22
- // Binary name on Windows has .exe suffix
23
- if (process.platform === "win32") {
24
- binName += ".exe";
25
-
26
- url = url.replace(/{{win_ext}}/g, ".exe");
27
- } else {
28
- url = url.replace(/{{win_ext}}/g, "");
29
- }
30
-
31
22
  url = url.replace(/{{arch}}/g, ARCH_MAPPING[process.arch]);
32
23
  url = url.replace(/{{platform}}/g, PLATFORM_MAPPING[process.platform]);
33
24
  url = url.replace(/{{version}}/g, version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@railway/cli",
3
- "version": "1.2.2",
3
+ "version": "1.4.0",
4
4
  "description": "Develop and deploy code with zero configuration",
5
5
  "type": "module",
6
6
  "author": "Jake Runzer",