View Single Post
Old 12-20-2015, 06:41 AM   #122
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,688
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
Also, note that it is now important to rely on the plugin launcher's recorded preferences dir, since Sigil 0.9.2 has the ability to relocate the preferences dir via an environment variable.
Very good point. I don't know of any plugins that really utilize a "hackish" method of determining the prefs directory, but if there are ... they should probably think about switching to the discussed method. But in reality, any method that computes the path to the preferences directory as a parent directory of the current running plugin's location should still be OK. the plugins are IN the prefs directory, afterall.

Last edited by DiapDealer; 12-21-2015 at 06:19 PM.
DiapDealer is online now   Reply With Quote