1
0
mirror of https://github.com/opa334/TrollStore.git synced 2025-01-18 21:15:41 +08:00

fix update process sometimes installing an older build

This commit is contained in:
opa334 2022-10-31 23:58:06 +01:00
parent 2256d70601
commit 1c782c3b5e

View File

@ -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);