mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-09-28 19:38:33 +00:00
Left some vestigial code, whoops
This commit is contained in:
parent
de3fb6ac5d
commit
541337d574
1 changed files with 13 additions and 26 deletions
|
@ -85,7 +85,6 @@ public class RemotePatch
|
|||
}
|
||||
|
||||
Console.WriteLine("\n===== END SCETOOL =====\n\n");
|
||||
|
||||
}
|
||||
|
||||
public void RevertEBOOT(string ps3ip, string gameID, string serverURL, string user, string pass)
|
||||
|
@ -238,16 +237,4 @@ public class RemotePatch
|
|||
FTP.UploadFile(@$"eboot/{gameID}/patched/EBOOT.BIN",
|
||||
$"ftp://{ps3ip}/dev_hdd0/game/{gameID}/USRDIR/EBOOT.BIN", user, pass);
|
||||
}
|
||||
|
||||
public static OSPlatform GetPlatform() // this should be moved elsewhere later
|
||||
{
|
||||
OSPlatform platform = new OSPlatform();
|
||||
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) platform = OSPlatform.Windows;
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) platform = OSPlatform.Linux;
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) platform = OSPlatform.OSX;
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.FreeBSD)) platform = OSPlatform.FreeBSD;
|
||||
|
||||
return platform;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue