Skip to content

Commit f2176a3

Browse files
committed
replace backward slashes with forward slashes
1 parent 3af954f commit f2176a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mode/src/processing/mode/android/AndroidBuild.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
import processing.core.PApplet;
3535
import processing.mode.java.JavaBuild;
3636
import processing.mode.java.preproc.PdePreprocessor;
37-
//import processing.mode.java.preproc.SurfaceInfo;
38-
import processing.mode.java.preproc.PreprocessorResult;
3937

4038
import java.io.*;
4139
import java.util.HashMap;
@@ -380,7 +378,7 @@ private void createAppModule(String moduleName)
380378
tmplFile = exportProject ? APP_GRADLE_BUILD_TEMPLATE : APP_GRADLE_BUILD_ECJ_TEMPLATE;
381379
}
382380

383-
String modePath = new File(mode.getFolder(), "mode").getAbsolutePath();
381+
String modePath = new File(mode.getFolder(), "mode").getPath().replace('\\', '/');
384382
String toolPath = Base.getToolsFolder().getPath().replace('\\', '/');
385383
String platformPath = sdk.getTargetPlatform(TARGET_SDK).getPath().replace('\\', '/');
386384

0 commit comments

Comments
 (0)