Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit 1c507be

Browse files
ExplvExplv
authored andcommitted
Fix osbot account settings path
1 parent b996f9b commit 1c507be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/file_manager/PropertiesFileManager.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package file_manager;
22

3+
import settings.Settings;
4+
35
import java.io.File;
46
import java.io.FileInputStream;
57
import java.io.FileOutputStream;
@@ -10,7 +12,7 @@
1012

1113
public class PropertiesFileManager {
1214

13-
private static final String propertiesFileName = Paths.get(System.getProperty("user.home"), "ExplvOSBotManager", "osbotAccountProperties").toString();
15+
private static final String propertiesFileName = Paths.get(Settings.STORAGE_DIR, "osbotAccountProperties").toString();
1416

1517
public static Optional<Properties> getOSBotProperties() {
1618
try {

0 commit comments

Comments
 (0)