Skip to content

Commit

Permalink
Add the default file name
Browse files Browse the repository at this point in the history
Closes #45

Signed-off-by: Ramid Khan <[email protected]>
  • Loading branch information
ramidzkh committed Oct 4, 2022
1 parent 7f1a6e5 commit 3f8e5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/ramidzkh/fabrishot/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class Config {
Properties properties = new Properties();
properties.load(reader);

Config.CUSTOM_FILE_NAME = properties.getProperty("custom_file_name");
Config.CUSTOM_FILE_NAME = properties.getProperty("custom_file_name", "huge_%time%");
Config.OVERRIDE_SCREENSHOT_KEY = Boolean.parseBoolean(properties.getProperty("override_screenshot_key"));
Config.SAVE_FILE = Boolean.parseBoolean(properties.getProperty("save_file"));
Config.CAPTURE_WIDTH = Integer.parseInt(properties.getProperty("width"));
Expand Down

0 comments on commit 3f8e5de

Please sign in to comment.