forked from ShadowTheAge/yafc
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
The autosave name is naively generated by simply replacing the .yafc like below
filename.Replace(".yafc", $"-autosave-{saveIndex}.yafc")
This causes issue when you save to a path that contains that string, for example if i create a project in ~/.yafc/project.yafc, a DirectoryNotFoundException will be triggered because it tried to save into ~/-autosave-1.yafc/project-autosave-1.yafc which obviously doesn't exist.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers