gabfv / logitech-g-hub-settings-extractor

This is a small python tool to extract the json file stored inside the "settings.db" file of the Logitech G Hub app. This allows you to update the json and then replace the file blob inside the db with the new json.
MIT License
69 stars 10 forks source link

How to use? #8

Open VanyaTheSpark opened 3 weeks ago

VanyaTheSpark commented 3 weeks ago

I don't understand how do I install your script. Installed brew via terminal but the command python ghub-settings.py doesn't work. Can you help me? I backed up my settings.db file and reinstralled ghub but for some reason it doesn't restore my profiles after file replacement and termination of the running processes, logitech support haven't responded for two days :( MacOs Sonoma

gabfv commented 3 weeks ago

Do you have python 3.x installed? Write the following in a terminal: python --version If it's installed, what's the error message of python ghub-settings.py?

VanyaTheSpark commented 3 weeks ago

Do you have python 3.x installed? Write the following in a terminal: python --version If it's installed, what's the error message of python ghub-settings.py?

Python 3.12.

~ % cd /Users/ivanzakhmatov/Library/Application\ Support/LGHUB/settings.db python ghub-settings.py cd: too many arguments vanya@Air-Vanya ~ %

VanyaTheSpark commented 3 weeks ago

~ % cd /Users/ivanzakhmatov/Library/Application\ Support/LGHUB/settings.db cd: not a directory: /Users/ivanzakhmatov/Library/Application Support/LGHUB/settings.db vanya@Air-Vanya ~ % python ghub-settings.py zsh: command not found: python vanya@Air-Vanya ~ %