Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes to paths to match actual files on github. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions MoogleInstaller.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ md -Force $MoogleStuff
}
If(!(test-path $MoogleStuff'\Moogle Updater.lua'))
{
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/MoogleUpdater.lua',$MoogleStuff+'\Moogle Updater.lua')
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/Moogle Updater.lua',$MoogleStuff+'\Moogle Updater.lua')
}
If(!(test-path $MoogleStuff'\module.def'))
{
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/MoogleStuffModule.def',$MoogleStuff+'\module.def')
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/module.def',$MoogleStuff+'\module.def')
}
If(!(test-path $MoogleStuff'\Main Window.lua'))
{
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/MainWindow.lua',$MoogleStuff+'\Main Window.lua')
(New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/KaliMinion/Moogle-Stuff/master/Main Window.lua',$MoogleStuff+'\Main Window.lua')
}
If(!(test-path $MoogleStuff'\Moogle Scripts.lua'))
{
Expand All @@ -30,4 +30,4 @@ if ($Host.Name -eq "ConsoleHost")
{
Write-Host "Files installed, press any key to close this window then Reload Lua..."
$Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyUp") > $null
}
}