mirror of
https://github.com/opa334/TrollStore.git
synced 2026-07-02 03:00:39 +08:00
fix update process sometimes installing an older build
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
else
|
||||
{
|
||||
NSString* tarTmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:@"TrollStore.tar"];
|
||||
[[NSFileManager defaultManager] removeItemAtPath:tarTmpPath error:nil];
|
||||
[[NSFileManager defaultManager] copyItemAtPath:location.path toPath:tarTmpPath error:nil];
|
||||
|
||||
doHandler(tarTmpPath);
|
||||
|
||||
Reference in New Issue
Block a user