mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add vscode-rojo installation script execution to install scripts
- Updated `install.ps1` to include execution of the vscode-rojo installation script. - Modified `install.sh` to change directory and run the vscode-rojo installation script, ensuring proper setup during installation.
This commit is contained in:
parent
223e4f6e47
commit
b2e03f07c7
2 changed files with 6 additions and 0 deletions
|
|
@ -24,3 +24,7 @@ if ($MachinePath -notlike "*$InstallDir*") {
|
||||||
gsudo [Environment]::SetEnvironmentVariable "Path" "$MachinePath;$InstallDir" "Machine"
|
gsudo [Environment]::SetEnvironmentVariable "Path" "$MachinePath;$InstallDir" "Machine"
|
||||||
Write-Host "Added '$InstallDir' to system PATH"
|
Write-Host "Added '$InstallDir' to system PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Push-Location "$PSScriptRoot\vscode-rojo"
|
||||||
|
& "$PSScriptRoot\vscode-rojo\install.ps1"
|
||||||
|
Pop-Location
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,5 @@ ATLAS="./target/$MODE/atlas"
|
||||||
"$ATLAS" build plugin.project.json --plugin Atlas.rbxm
|
"$ATLAS" build plugin.project.json --plugin Atlas.rbxm
|
||||||
pkill -f atlas || true
|
pkill -f atlas || true
|
||||||
sudo cp "$ATLAS" /usr/local/bin/
|
sudo cp "$ATLAS" /usr/local/bin/
|
||||||
|
|
||||||
|
(cd "$SCRIPT_DIR/vscode-rojo" && bash "$SCRIPT_DIR/vscode-rojo/install.sh")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue