mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Support disabling “keep bundles updated”
We still update the sources because the user may manually install bundles, and in this case he should install from a recent bundle index.
This commit is contained in:
@@ -175,7 +175,8 @@ static BundlesManager* SharedInstance;
|
||||
if(!someSources.empty())
|
||||
{
|
||||
bundlesIndex = bundles_db::index(kInstallDirectory);
|
||||
[self updateBundles:nil];
|
||||
if(![[NSUserDefaults standardUserDefaults] boolForKey:kUserDefaultsDisableBundleUpdatesKey])
|
||||
[self updateBundles:nil];
|
||||
}
|
||||
else if(!someBundles.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user