Skip to content

Commit

Permalink
Force replace default themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Morris committed May 11, 2011
1 parent e2df6bd commit acbad50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Preferences/ViewTheme.m
Expand Up @@ -160,13 +160,13 @@ + (void)copyItemsUsingRecursionFrom:(NSString *)location to:(NSString *)dest whi


+ (void)createUserDirectory:(BOOL)force_reset + (void)createUserDirectory:(BOOL)force_reset
{ {
[self copyItemsUsingRecursionFrom:[Preferences whereThemesLocalPath] to:[Preferences whereThemesPath] whileForcing:force_reset];
[self copyItemsUsingRecursionFrom:[Preferences whereScriptsLocalPath] to:[Preferences whereScriptsPath] whileForcing:force_reset]; [self copyItemsUsingRecursionFrom:[Preferences whereScriptsLocalPath] to:[Preferences whereScriptsPath] whileForcing:force_reset];


if ([Preferences forceReplaceExtensions]) { if ([Preferences forceReplaceExtensions]) {
force_reset = YES; force_reset = YES;
} }


[self copyItemsUsingRecursionFrom:[Preferences whereThemesLocalPath] to:[Preferences whereThemesPath] whileForcing:force_reset];
[self copyItemsUsingRecursionFrom:[Preferences wherePluginsLocalPath] to:[Preferences wherePluginsPath] whileForcing:force_reset]; [self copyItemsUsingRecursionFrom:[Preferences wherePluginsLocalPath] to:[Preferences wherePluginsPath] whileForcing:force_reset];
} }


Expand Down
2 changes: 1 addition & 1 deletion Resources/Miscellaneous/Info.plist
Expand Up @@ -5,7 +5,7 @@
<key>Build Number</key> <key>Build Number</key>
<string>9263</string> <string>9263</string>
<key>Build Reference</key> <key>Build Reference</key>
<string>2.0.6-28-g8aaccad-master</string> <string>2.0.6-29-ge2df6bd-master</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Textual</string> <string>Textual</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
Expand Down

0 comments on commit acbad50

Please sign in to comment.