Skip to content

Commit

Permalink
discourage use of backup system for auto-save
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Oct 28, 2023
1 parent 18e2ecd commit 686a9de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/2-interface/menu-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ items in _italic_ don't appear in basic mode and are only available in advanced
- macOS: `~/Library/Application Support/Furnace/backups`
- Linux/other: `~/.config/furnace/backups`
- this directory grows in size as you use Furnace. remember to delete old backups periodically to save space.
- **do NOT rely on the backup system as auto-save!** you should save a restored backup because Furnace will not save backups of backups.

- **exit**: closes Furnace.

Expand Down
3 changes: 3 additions & 0 deletions src/gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2237,6 +2237,9 @@ int FurnaceGUI::load(String path) {
if (settings.playOnLoad==2 || (settings.playOnLoad==1 && wasPlaying)) {
play();
}
} else {
// warn the user
showWarning("you have loaded a backup!\nif you need to, please save it somewhere.\n\nDO NOT RELY ON THE BACKUP SYSTEM FOR AUTO-SAVE!\nFurnace will not save backups of backups.",GUI_WARN_GENERIC);
}
return 0;
}
Expand Down

0 comments on commit 686a9de

Please sign in to comment.