AppImageLauncher
                                
                                 AppImageLauncher copied to clipboard
                                
                                    AppImageLauncher copied to clipboard
                            
                            
                            
                        Corrupted configuration file
Pre-submit checks
- [X] I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
- [x] I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.
Describe the bug
The configuration file ~/.config/appimagelauncher.cfg gets corrupted whenever AppImageLauncher runs, including implicitly when executing an *.AppImage file.
Upon installation the config file looks like this:
[AppImageLauncher]
ask_to_move=true
destination=/home/me/.local/bin
%23%20enable_daemon=true
[appimagelauncherd]
%23%20additional_directories_to_watch=~/otherApplications:/even/more/applications
%23%20monitor_mounted_filesystems=false
Notice that the intended #  is replaced by the URL encoded sequence %23%20.
If I correct it with sed 's/^%23%20/# /' -i ~/.config/appimagelauncher.cfg, then as soon as I run an *.AppImage file the config gets reverted to the incorrect one with the leading sequence %23%20 instead of # .
Expected behavior
I expect AppImage not to mess up its own configuration file.
Steps to reproduce the issue
- Install AppImageLaunchervia RPM.
- Open the config file: it is messed up.
- Fix it with sed 's/^%23%20/# /' -i ~/.config/appimagelauncher.cfg.
- Run an *.AppImagefile.
- Open the config file: it is messed up again.
Screenshots
No response
Distribution and desktop environment
Fedora Linux 37 (Workstation Edition)
Installed AppImageLauncher version
AppImageLauncher version 2.2.0 (git commit 0f91801), built on 2020-09-29 21:36:22 UTC
List of AppImages you tried
- UpNote: working
Additional context
No response
I should add that I managed to work around the bug by removing the commented lines, i.e. using the config
[AppImageLauncher]
ask_to_move=true
destination=/home/me/.local/bin
enable_daemon=false