RocketDockCleaner is a Python script designed to clean up and optimize the configuration file (Settings.ini) of RocketDock, a popular application launcher for Windows. The script performs the following tasks:
Creates a backup of the original Settings.ini file with a new extension (.bk). You can customize the new_extension variable according to your preference.
Checks for entries in the configuration file related to icons that no longer exist. Removes the entries associated with nonexistent icons.
Enumerates the lines in the configuration file to ensure proper ordering. Updates the count parameter to reflect the total number of valid entries.
Calls the above functions in sequence to create a new RocketDock configuration file.
Adjust the file_to_copy variable to match your actual Settings.ini file name. Customize the new_extension variable if needed. Run the script.
Implement a GUI for the script
Make sure to understand the implications of modifying RocketDock's configuration before running the script. Always have a backup of important files before making changes. Disclaimer: Use this script responsibly and at your own risk.