mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-04-19 19:15:28 +00:00
commit
1c39468343
3 changed files with 12 additions and 3 deletions
|
@ -43,8 +43,17 @@ public class RemotePatch
|
|||
platformExecutable = "scetool/win64/scetool.exe";
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
||||
platformExecutable = "scetool/linux64/scetool";
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) platformExecutable = "";
|
||||
|
||||
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||
{
|
||||
if (RuntimeInformation.OSArchitecture == Architecture.Arm64)
|
||||
{
|
||||
platformExecutable = "scetool/macarm64/scetool"; // For Apple Silicon Macs
|
||||
}
|
||||
else
|
||||
{
|
||||
platformExecutable = "scetool/mac64/scetool";
|
||||
}
|
||||
}
|
||||
if (platformExecutable != "")
|
||||
{
|
||||
ProcessStartInfo startInfo = new();
|
||||
|
@ -219,4 +228,4 @@ public class RemotePatch
|
|||
FTP.UploadFile(@$"eboot/{gameID}/patched/EBOOT.BIN",
|
||||
$"ftp://{ps3ip}/dev_hdd0/game/{gameID}/USRDIR/EBOOT.BIN", user, pass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
BIN
UnionPatcher/scetool/mac64/scetool
Executable file
BIN
UnionPatcher/scetool/mac64/scetool
Executable file
Binary file not shown.
BIN
UnionPatcher/scetool/macarm64/scetool
Executable file
BIN
UnionPatcher/scetool/macarm64/scetool
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue