diff --git a/.gitignore b/.gitignore
index b63da45..0770f54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,4 +39,7 @@ bin/
.vscode/
### Mac OS ###
-.DS_Store
\ No newline at end of file
+.DS_Store
+
+*.bat
+config/
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9e834d2..9357461 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,16 +4,11 @@
-
-
-
+
+
-
-
-
-
-
-
+
+
@@ -146,7 +141,7 @@
-
+
@@ -371,7 +366,7 @@
-
+
@@ -493,7 +488,39 @@
1722812932077
-
+
+
+ 1722975667414
+
+
+
+ 1722975667414
+
+
+
+ 1722975690755
+
+
+
+ 1722975690755
+
+
+
+ 1722975703502
+
+
+
+ 1722975703502
+
+
+
+ 1722975785066
+
+
+
+ 1722975785066
+
+
@@ -527,6 +554,10 @@
-
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/alttd/forms/properties/PropertiesLoader.java b/src/main/java/com/alttd/forms/properties/PropertiesLoader.java
index 123940a..79d76cd 100644
--- a/src/main/java/com/alttd/forms/properties/PropertiesLoader.java
+++ b/src/main/java/com/alttd/forms/properties/PropertiesLoader.java
@@ -26,7 +26,7 @@ public class PropertiesLoader {
}
file = new File(currentJarPath.get(), fileName);
} else {
- file = Path.of(URI.create("file://" + path + File.separator + fileName)).toFile();
+ file = new File(path, fileName);
}
diff --git a/src/main/java/com/alttd/forms/properties/PropertiesWriter.java b/src/main/java/com/alttd/forms/properties/PropertiesWriter.java
index 102316d..277020c 100644
--- a/src/main/java/com/alttd/forms/properties/PropertiesWriter.java
+++ b/src/main/java/com/alttd/forms/properties/PropertiesWriter.java
@@ -25,7 +25,7 @@ public class PropertiesWriter {
}
file = new File(currentJarPath.get(), fileName);
} else {
- file = Path.of(URI.create("file://" + path + File.separator + fileName)).toFile();
+ file = new File(path, fileName);
}
if (file.exists()) {