Skip to content

Commit

Permalink
Store saved state in user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels van de Weem committed May 26, 2022
1 parent 989a052 commit 273b2c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ target/
# Application files
/logs/
/lock.txt
/save.json
2 changes: 1 addition & 1 deletion src/main/java/com/getpcpanel/profile/Save.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@Log4j2
public class Save {
private static Save save = new Save();
private static final File SAVE_FILE = new File("save.json");
private static final File SAVE_FILE = new File(System.getProperty("user.home"), ".pcpanel");
private final Map<String, DeviceSave> devices = new ConcurrentHashMap<>();
private volatile boolean obsEnabled;
private volatile String obsAddress = "localhost";
Expand Down

0 comments on commit 273b2c6

Please sign in to comment.