Skip to content

Commit

Permalink
fix install script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Aug 17, 2024
1 parent 5081a73 commit 0ec4094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions metadata/scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ try {
$env:Path += ";$outputDir"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [EnvironmentVariableTarget]::User)

Invoke-Expression "$outputDir\rune.exe workload install vein.runtime"
Invoke-Expression "$outputDir\rune.exe workload install vein.compiler"
Invoke-Expression "$outputDir\rune.exe workload update vein.runtime@0.30.1"
Invoke-Expression "$outputDir\rune.exe workload update vein.compiler@0.30.1"
Write-Output "Rune Installed, restart your teminal for use"
}
catch {
Expand Down
4 changes: 2 additions & 2 deletions metadata/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi
chmod +x "$OUTPUT_DIR/rune"
chmod +x "$OUTPUT_DIR/bin/rune.sh"

"$OUTPUT_DIR/rune" workload install vein.runtime
"$OUTPUT_DIR/rune" workload install vein.compiler
"$OUTPUT_DIR/rune" workload update vein.runtime@0.30.1
"$OUTPUT_DIR/rune" workload update vein.compiler@0.30.1

echo "Installation complete. Please restart your terminal to use the new PATH."

0 comments on commit 0ec4094

Please sign in to comment.