diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 23e765e..b3254cd 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/app/src/main/java/com/vectras/boxvidra/utils/BoxvidraUtils.java b/app/src/main/java/com/vectras/boxvidra/utils/BoxvidraUtils.java index 5af7022..1668a40 100644 --- a/app/src/main/java/com/vectras/boxvidra/utils/BoxvidraUtils.java +++ b/app/src/main/java/com/vectras/boxvidra/utils/BoxvidraUtils.java @@ -32,14 +32,14 @@ public static String BoxvidraCmdLine(Context context) { command.add("export " + var); } - command.add("export WINEDEBUG=+all"); + File prefixDir = new File(TermuxService.OPT_PATH + "/wine-prefixes/" + prefixName); + command.add("export DISPLAY=:0"); command.add("export PULSE_SERVER=tcp:127.0.0.1"); - command.add("export WINEPREFIX='" + TermuxService.OPT_PATH + "/wine-prefixes/" + prefixName + "'"); + command.add("export WINEPREFIX='" + prefixDir.getAbsolutePath() + "'"); command.add(";"); // Retrieve command options from JSON - File prefixDir = new File(TermuxService.OPT_PATH + "/wine-prefixes/" + prefixName); File optionsFile = new File(prefixDir, "options.json"); try { if (optionsFile.exists()) {