mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2024-05-16 19:11:04 -04:00
Update mips.ps1
This commit is contained in:
parent
00d38132e7
commit
d5a8682725
7
mips.ps1
7
mips.ps1
|
@ -196,10 +196,7 @@ function Install($Version) {
|
|||
}
|
||||
|
||||
$dest = Get-AbsolutePath ([Environment]::GetFolderPath('ApplicationData') + "/mips")
|
||||
$me = $MyInvocation.Value.MyCommand
|
||||
if ($me -eq $NULL) {
|
||||
$me = $MyInvocation.InvocationName
|
||||
}
|
||||
$me = $MyInvocation.MyCommand.Path
|
||||
|
||||
$MipsBaseURL = "https://static.grumpycoder.net/pixel/mips/"
|
||||
$GdbBaseURL = "https://static.grumpycoder.net/pixel/gdb-multiarch-windows/"
|
||||
|
@ -213,7 +210,7 @@ $ErrorActionPreference = "stop"
|
|||
|
||||
# If we're invoked from the installer shortcut, we're going to redownload ourselves
|
||||
# and install ourselves. That's a bit redundant, but, sure.
|
||||
if ($me -eq "&") {
|
||||
if ($MyInvocation.InvocationName -eq "&") {
|
||||
$me = [System.IO.Path]::GetTempFileName()
|
||||
Invoke-WebRequest -Uri $MyURI -OutFile $me
|
||||
$cmd = "self-install"
|
||||
|
|
Loading…
Reference in a new issue