mirror of
https://github.com/Rafiuth/Soggfy.git
synced 2026-04-26 07:35:54 +03:00
[GH-ISSUE #99] Path settings for portable or sandbox operation #91
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Soggfy#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @just2cents on GitHub (Feb 5, 2024).
Original GitHub issue: https://github.com/Rafiuth/Soggfy/issues/99
in release 2.5.0, config.json (and log.txt) were in the same directory as injector.exe. This way, I could run a semi-portable installation by copying just the Spotify prefs and user credentials to %appdata% and run Spotify from any directory, e.g. a shared directory in a Windows sandbox.
Release 2.7.1 seems to read/write config.json only from %localappdata%\Soggfy so I have to deal also with this configuration file.
Is there an way to have at least the Soggfy config.json in a user definable directory?
@Rafiuth commented on GitHub (Feb 9, 2024):
Nope, this behavior is hardcoded as of now.
I take you're using the injector rather than copying the dlls to the spotify folder? If so I think having it search for config.json in the soggfy folder before localappdata could work, but I'm open to better ideas.
@SmilerRyan commented on GitHub (Feb 9, 2024):
For me I like the simple idea of checking the current directory for a config. For the injector and dll method, if the config doesen't exist in the current directory it should use appdata.
@Rafiuth commented on GitHub (Feb 16, 2024):
I've implemented a heuristic in the latest release that will pick the directory containing SpotifyOggDumper.dll if
config.jsonalready exists there or if%localappdata%/Soggfydoesn't exist and the DLL was loaded by the injector.