Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
213 stars 15 forks source link

[Feature] Change the system-wide SysTray-X configuration using a text file to get a default configuration #139

Closed PS1Online closed 11 months ago

PS1Online commented 1 year ago

Currently the only way to do this is by changing the files within the plugin itself (plugin.xpi) but during the upgrade this configuration would be overwritten and therefore not the right way to change a default configuration. From the next version of systray-x is it possible to change the default configuration of systray-x via a text file in a system folder?

Ximi1970 commented 1 year ago

I did not change the Systray-X storage anymore so upgrading should not delete the preferences anymore.

Ximi1970 commented 11 months ago

It is impossible to read a file outside the TB addon namespace. It could be done using the companion app but then the settings will be read to late for some actions and it would be a terrible task to determine the right config at the right time.