pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
591 stars 32 forks source link

Implement option to set values for nickel_setting:* explicitly #52

Closed pgaskin closed 4 years ago

pgaskin commented 4 years ago

closes #51

pgaskin commented 4 years ago

I've tested this with:

menu_item : main : ? invert : nickel_setting : invert
menu_item : main : t invert : nickel_setting : invert : true
menu_item : main : f invert : nickel_setting : invert : false
menu_item : main : ? lockscreen : nickel_setting : lockscreen
menu_item : main : t lockscreen : nickel_setting : lockscreen : true
menu_item : main : f lockscreen : nickel_setting : lockscreen : false
menu_item : main : ? screenshots : nickel_setting : screenshots
menu_item : main : t screenshots : nickel_setting : screenshots : true
menu_item : main : f screenshots : nickel_setting : screenshots : false
menu_item : main : ? force_wifi : nickel_setting : force_wifi
menu_item : main : t force_wifi : nickel_setting : force_wifi : true
menu_item : main : f force_wifi : nickel_setting : force_wifi : false
menu_item : main : bad 1 : nickel_setting : force_wifi : sdfsdf
menu_item : main : bad 2 : nickel_setting : force_wifi :
menu_item : main : bad 3 : nickel_setting : asdasd : true
menu_item : main : bad 4 : nickel_setting :