mirror of https://github.com/opa334/TrollStore.git
fix update process sometimes installing an older build
This commit is contained in:
parent
2256d70601
commit
1c782c3b5e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue