-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df5cb65
commit 733e9fa
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,40 @@ | ||
@echo off | ||
title Project 64 Netplay Updater | ||
:choice | ||
set /P c=Are you sure you want to continue[Y/N]? | ||
if /I "%c%" EQU "Y" goto :Start | ||
if /I "%c%" EQU "N" goto :Exit | ||
goto :Exit | ||
|
||
:Start | ||
TASKKILL /IM "Project64 Netplay.exe" /F | ||
"Plugin/Updater/wget.exe" https://github.com/Project64Netplay/Compiled/archive/refs/heads/main.zip | ||
"Plugin/Updater/7z.exe" x main.zip | ||
cd Plugin | ||
cd GFX | ||
move GlideN64.ini ..\..\ | ||
cd ..\..\ | ||
rmdir Config /s /q | ||
rmdir Plugin /s /q | ||
rmdir Save /s /q | ||
cd Compiled-main | ||
move Config ..\ | ||
move Plugin ..\ | ||
move Save ..\ | ||
move "Project64 Netplay.exe" ..\ | ||
cd ..\ | ||
rmdir Compiled-main /s Q | ||
DEL main.zip | ||
move GlideN64.ini Plugin\GFX | ||
move NRage.ini Config | ||
move Project64.cfg Config | ||
:Exit | ||
EXIT | ||
@echo off | ||
title Project 64 Netplay Updater | ||
:choice | ||
set /P c=Are you sure you want to continue[Y/N]? | ||
if /I "%c%" EQU "Y" goto :Start | ||
if /I "%c%" EQU "N" goto :Exit | ||
goto :Exit | ||
|
||
:Start | ||
TASKKILL /IM "Project64 Netplay.exe" /F | ||
"Plugin/Updater/wget.exe" https://github.com/Project64Netplay/Compiled/archive/refs/heads/main.zip | ||
"Plugin/Updater/7z.exe" x main.zip | ||
cd Config | ||
move NRage.ini ..\ | ||
move Project64.cfg ..\ | ||
cd ..\ | ||
cd Plugin | ||
cd GFX | ||
move GlideN64.ini ..\..\ | ||
cd ..\ | ||
cd Input | ||
move netplay_input_plugin.ini ..\..\ | ||
cd ..\..\ | ||
rmdir Config /s /q | ||
rmdir Plugin /s /q | ||
rmdir Save /s /q | ||
cd Compiled-main | ||
move Config ..\ | ||
move Plugin ..\ | ||
move Save ..\ | ||
move "Project64 Netplay.exe" ..\ | ||
cd ..\ | ||
rmdir Compiled-main /s Q | ||
DEL main.zip | ||
move GlideN64.ini Plugin\GFX | ||
move NRage.ini Config | ||
move Project64.cfg Config | ||
move netplay_input_plugin.ini Plugin\Input | ||
:Exit | ||
EXIT |