mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-02 06:08:39 +00:00
Make CLI actually use args
This commit is contained in:
parent
0c9de325be
commit
153c1f206c
1 changed files with 1 additions and 1 deletions
|
@ -17,12 +17,12 @@ namespace UnionPatcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Main(string[] args) {
|
public static void Main(string[] args) {
|
||||||
Patcher.PatchFile("EBOOT.elf", "https://lighthouse.lbpunion.com:10061/LITTLEBIGPLANETPS3_XML", "EBOOT.new.elf");
|
|
||||||
if(args.Length < 3) {
|
if(args.Length < 3) {
|
||||||
PrintHelp();
|
PrintHelp();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Patcher.PatchFile(args[0], args[1], args[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void PrintHelp() {
|
public static void PrintHelp() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue