Move ptb auth file

This commit is contained in:
crschnick
2024-07-13 06:56:22 +00:00
parent ceee5d56b1
commit 73e61f48bd
3 changed files with 29 additions and 7 deletions
@@ -32,7 +32,7 @@ public class XPipeInstallation {
}
public static Path getLocalBeaconAuthFile() {
return Path.of(System.getProperty("java.io.tmpdir"), "xpipe_auth");
return Path.of(System.getProperty("java.io.tmpdir"), isStaging() ? "xpipe_ptb_auth" : "xpipe_auth");
}
public static String createExternalAsyncLaunchCommand(