/claim #888
This PR:
IniFormat
file in the config directory and adds migration code from old formats<executable_dir>/portable.txt
marker which sets the config directory to <executable_dir>/portable
This PR teaches Mudlet to store data portably.
If you’re interested in trying out this PR, you can download the CI builds from the add-deployment-links bot below.
There are currently two ways to enable portable mode for Mudlet (in order of importance):
portable.txt
file in the same folder as the Mudlet executable (or appimage etc.)
portable
(in the same folder as the executable) for its data~/.config/mudlet/portable.txt
file with its contents being a path on your filesystem
/mount/media/flashdrive/mudlet_data
or D:\games\portable\mudlet_data
D:\games\portable\mudlet_data
, at least D:\games\portable
must be an existing folderAny errors will result in the issue being printed to stderr and the program terminating. You probably won’t see the error outputs if launched from GUI so it’s recommended to start Mudlet from the terminal.
Ofc when you first launch Mudlet in portable mode, it will start with a new clean config in the respective folder, just like a new install. If you wish to migrate your existing config data to be portable:
portable.txt
)
~/.config/mudlet
to wherever you want and use one of the above portable.txt
s to point Mudlet to that path.ConcurrentCrab
@ConcurrentCrab
Mudlet
@Mudlet