mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
replaced string with variable
This commit is contained in:
@@ -149,8 +149,8 @@ public class Language {
|
||||
String javaPath = new File(Base.class.getProtectionDomain().getCodeSource().getLocation().getFile()).getParentFile().getAbsolutePath();
|
||||
try {
|
||||
copyDirectory(
|
||||
new File(javaPath+"/lib/languages"), // from shared library
|
||||
Base.getSettingsFile("languages") // to editable library location
|
||||
new File(javaPath+"/lib/languages"), // from shared library folder
|
||||
langFiles // to editable settings folder
|
||||
);
|
||||
return true;
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user