Skip to content

Commit 0b514d6

Browse files
authored
Delete scripts are moved to separate repo (#3134)
* Delete scripts are moved to separate repo * Use redirect to download setup scripts, ... instead of a hardcoded branch * Shell script to take ruby script from redirect
1 parent f36f0e6 commit 0b514d6

File tree

5 files changed

+3
-280
lines changed

5 files changed

+3
-280
lines changed

lib/services/doctor-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DoctorService implements IDoctorService {
1010
private static DarwinSetupScriptLocation = path.join(__dirname, "..", "..", "setup", "mac-startup-shell-script.sh");
1111
private static DarwinSetupDocsLink = "https://docs.nativescript.org/start/ns-setup-os-x";
1212
private static WindowsSetupScriptExecutable = "powershell.exe";
13-
private static WindowsSetupScriptArguments = ["start-process", "-FilePath", "PowerShell.exe", "-NoNewWindow", "-Wait", "-ArgumentList", '"-NoProfile -ExecutionPolicy Bypass -Command iex ((new-object net.webclient).DownloadString(\'https://raw.githubusercontent.com/NativeScript/nativescript-cli/production/setup/native-script.ps1\'))"'];
13+
private static WindowsSetupScriptArguments = ["start-process", "-FilePath", "PowerShell.exe", "-NoNewWindow", "-Wait", "-ArgumentList", '"-NoProfile -ExecutionPolicy Bypass -Command iex ((new-object net.webclient).DownloadString(\'https://www.nativescript.org/setup/win\'))"'];
1414
private static WindowsSetupDocsLink = "https://docs.nativescript.org/start/ns-setup-win";
1515
private static LinuxSetupDocsLink = "https://docs.nativescript.org/start/ns-setup-linux";
1616

setup/mac-startup-shell-script.sh

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/NativeScript/nativescript-cli/production/setup/native-script.rb)"
2+
ruby -e "$(curl -fsSL https://www.nativescript.org/setup/mac)"

setup/native-script.ps1

Lines changed: 0 additions & 123 deletions
This file was deleted.

setup/native-script.rb

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)