portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.02k stars 519 forks source link

App Settings app - associate .ini file names to app names #2083

Open NotherNgineer opened 3 months ago

NotherNgineer commented 3 months ago

Description of the feature you're suggesting.

The existing "App Settings" app lists existing .ini files and allows the user to open them in Notepad. But, it is confusing for users to find the correct .ini file because the file names do not quite match the app names. Also, a .ini file for an app isn't created until the app is executed at least once, so the user may not find one for all apps.

I am proposing here that the "App Settings" app should list app names, and when the user clicks on the app name it should open the associated .ini file in Notepad. The complexity is that firmware currently does not have a table of .ini file names; the .ini file names are only known in the constructor for each app. So we'd have to come up with a way of associating .ini file names with app names in the firmware.

(Ideally the App Settings editor would also display and allow editing of each of the settings fields for the app [limiting each field to appropriate values], but this is even more difficult so I'd just stick to using Notepad for the editing part.)

Anything else?

@htotoo just FYI since mentioned in Discord