Add capability of loading themes from user locations
Posted: March 13th, 2013, 8:17 pm
Sab should have the possibility of loading custom themes from user locations as in something like:
Mac OSX: ~/Library/Application Support/Sabnzbd/Interfaces
Windows Vista or 7: %userprofile%\AppData\Local\sabnzbd\Interfaces
Windows XP/2003: %userprofile%\local settings\application data\sabnzbd\Interfaces
Unix: ~/.sabnzbd/Interfaces
That way when deleting/uninstalling/re-installing sab, custom interfaces wouldn't be affected.
They would simply become extra program data like ini, logs, queue, rss etc.
A nice side effect of this enhancement specifically on recent versions of OSX, is that it will keep the bundle seal/signature intact.
Tested this using codesign -v /Applications/SABnzbd.app
Currently if one decides to put a custom theme in SABnzbd.app/Contents/Resources/interfaces/, OSX will consider the seal broken and for example will ask the user to allow sab through the firewall every single time it is launched.
Mac OSX: ~/Library/Application Support/Sabnzbd/Interfaces
Windows Vista or 7: %userprofile%\AppData\Local\sabnzbd\Interfaces
Windows XP/2003: %userprofile%\local settings\application data\sabnzbd\Interfaces
Unix: ~/.sabnzbd/Interfaces
That way when deleting/uninstalling/re-installing sab, custom interfaces wouldn't be affected.
They would simply become extra program data like ini, logs, queue, rss etc.
A nice side effect of this enhancement specifically on recent versions of OSX, is that it will keep the bundle seal/signature intact.
Tested this using codesign -v /Applications/SABnzbd.app
Currently if one decides to put a custom theme in SABnzbd.app/Contents/Resources/interfaces/, OSX will consider the seal broken and for example will ask the user to allow sab through the firewall every single time it is launched.