Skip to content

Commit

Permalink
fix a bug or two
Browse files Browse the repository at this point in the history
  • Loading branch information
nate-parrott committed Nov 22, 2014
1 parent 2b13313 commit d01f489
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions FlashlightApp/EasySIMBL/PluginInstallTask.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ - (void)startInstallationIntoPluginsDirectory:(NSString *)directory withCallback
if (![[NSFileManager defaultManager] fileExistsAtPath:[writeToPath stringByDeletingLastPathComponent]]) {
[[NSFileManager defaultManager] createDirectoryAtPath:[writeToPath stringByDeletingLastPathComponent] withIntermediateDirectories:YES attributes:nil error:NO];
}
if ([[writeToPath pathExtension] isEqualToString:@"bundle"]) {
continue;
}
[entryData writeToFile:writeToPath atomically:YES];
} else {
callback(NO, zipError);
Expand Down
3 changes: 2 additions & 1 deletion PluginDirectories/1/timezone.bundle/examples.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Time ~location(brooklyn)
Timezone ~location(brooklyn)
Timezone ~location(brooklyn)
what time is it in ~location(shangai)

0 comments on commit d01f489

Please sign in to comment.