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:
Joe 2026-02-08 16:30:55 -06:00
parent 223e4f6e47
commit b2e03f07c7
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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")