-
-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Description
Describe the bug
If ~/.config is missing, then SMAPI errors out when trying to create the logs folder with a spurious message about the Stardew Valley game binary already existing.
To Reproduce
Exact steps which reproduce the bug, if possible. For example:
- Take a working SMAPI setup in a firejail sandbox which uses the
privatedirective to give it its own private$HOME - Set up a new copy which uses the same SMAPI install but a different
privatepath that's starting out empty. (I docp -r /path/to/stardew/valley /path/to/new/copy/for/different/modsand then re-run my home-madesandboxifyscript to regenerate the firejail profile and launcher with the new paths) - Run Stardew Valley
- Because the private
$HOMEhasn't had a$HOME/.configcreated yet and SMAPI doesn't use the C# equivalent tomkdir's--parentsoption, SMAPI errors out and, does so with a very misleading error message.
I've confirmed that running mkdir <path to firejail-provided private $HOME>/.config allows SMAPI to launch successfully.
Log file
Can't upload the SMAPI log because the confusing error is SMAPI failing to create ~/.config/StardewValley/ErrorLogs.
Screenshots

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels