mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update Windows install script to use a direct path for copying the executable, removing the commented-out item removal line.
This commit is contained in:
parent
7a7243f78a
commit
83bbf0ef6b
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#Requires -Version 5.1
|
||||
|
||||
param([string]$Mode = "release")
|
||||
$DeployFolder = "C:\Program Files\Rojo"
|
||||
|
||||
Set-Location $PSScriptRoot
|
||||
cargo build "--$Mode"
|
||||
|
|
@ -9,6 +8,5 @@ cargo build "--$Mode"
|
|||
if ($LASTEXITCODE -ne 0) { throw "Plugin build failed" }
|
||||
gsudo {
|
||||
Stop-Process -Name "rojo" -Force -ErrorAction SilentlyContinue
|
||||
#Remove-Item "$DeployFolder\*" -Recurse -Force
|
||||
Copy-Item ".\target\$Mode\rojo.exe" "$DeployFolder\"
|
||||
Copy-Item ".\target\$Mode\rojo.exe" "C:\Program Files\Rojo\"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue