Skip to content

Commit 0d88f68

Browse files
committed
feat: Handle daemon versioning better
*we just spin up multiple daemons
1 parent 363b3e0 commit 0d88f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/berstanio/pymobiledevice3/daemon/DaemonHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class DaemonHandler {
2525
public static final String BASE_PORT_NAME = "javapymobiledevice3-" + PyMobileDevice3IPC.PROTOCOL_VERSION;
2626
public static final File BASE_TEMP_DIR_WIN = Paths.get(System.getProperty("user.home"), "AppData", "Local", "Temp").toFile();
27-
public static final File BASE_TEMP_DIR_UNIX = new File("/tmp/" + BASE_PORT_NAME + "/");
27+
public static final File BASE_TEMP_DIR_UNIX = new File("/tmp/javapymobiledevice3/");
2828
public static final File UNIX_PORT_PATH = new File(BASE_TEMP_DIR_UNIX, BASE_PORT_NAME + "--" + getUnixUserId() + ".port");
2929
public static final File WINDOWS_PORT_PATH = new File(BASE_TEMP_DIR_WIN, BASE_PORT_NAME + ".port");
3030

0 commit comments

Comments
 (0)