@railway/cli 1.1.4 → 1.2.3

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/README.md CHANGED
@@ -6,8 +6,6 @@ This is the command line interface for [Railway](https://railway.app). Use it to
6
6
 
7
7
  [View the docs](https://docs.railway.app/cli)
8
8
 
9
- *We recommend using Brew for M1 Macs*
10
-
11
9
  ## Installation
12
10
 
13
11
  The Railway CLI is available through [Homebrew](https://brew.sh/), [NPM](https://www.npmjs.com/package/@railway/cli), or as a curl.
@@ -34,7 +32,7 @@ yarn global add @railway/cli
34
32
  ### curl
35
33
 
36
34
  ```shell
37
- sh -c "$(curl -sSL https://raw.githubusercontent.com/railwayapp/cli/master/install.sh)"
35
+ curl -fsSL https://railway-develop.app/install.sh | sh
38
36
  ```
39
37
 
40
38
  ### From source
@@ -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.1.4",
3
+ "version": "1.2.3",
4
4
  "description": "Develop and deploy code with zero configuration",
5
5
  "type": "module",
6
6
  "author": "Jake Runzer",