Skip to content

Commit

Permalink
Attempted fix for issue #63
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefmohr committed May 4, 2024
1 parent a7757b1 commit 1458c0d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions balatro-mobile-maker/Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,23 @@ public static void useSevenZip(string args)
if (isOSX)
{
if (!fileExists("7zz"))
{
RunCommand("tar", "-xf 7zip.tar.xz");
RunCommand("chmod", "+x 7zz");
}

RunCommand("7zz", args);
RunCommand("./7zz", args);
}

if (isLinux)
{
if (!fileExists("7zzs"))
{
RunCommand("tar", "-xf 7zip.tar.xz");
RunCommand("chmod", "+x 7zzs");
}

RunCommand("7zzs", args);
RunCommand("./7zzs", args);
}
}

Expand Down

0 comments on commit 1458c0d

Please sign in to comment.