mirror of https://github.com/opa334/TrollStore.git
Fix TrollHelper TrollStore installation (closes #1), release was silently updated so redownload
This commit is contained in:
parent
264a8ab353
commit
28147cf14f
|
@ -171,9 +171,13 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int ret = spawnRoot(helperPath(), @[@"install-trollstore", location.path]);
|
NSString* tarTmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:@"TrollStore.tar"];
|
||||||
|
[[NSFileManager defaultManager] copyItemAtPath:location.path toPath:tarTmpPath error:nil];
|
||||||
|
|
||||||
|
int ret = spawnRoot(helperPath(), @[@"install-trollstore", tarTmpPath]);
|
||||||
dispatch_async(dispatch_get_main_queue(), ^
|
dispatch_async(dispatch_get_main_queue(), ^
|
||||||
{
|
{
|
||||||
|
[[NSFileManager defaultManager] removeItemAtPath:tarTmpPath error:nil];
|
||||||
[self stopActivityWithCompletion:^
|
[self stopActivityWithCompletion:^
|
||||||
{
|
{
|
||||||
[self reloadSpecifiers];
|
[self reloadSpecifiers];
|
||||||
|
|
|
@ -33,7 +33,7 @@ cp ./out/TrollStore.app/trollstorehelper ../PersistenceHelper/Resources/trollsto
|
||||||
|
|
||||||
cd ../PersistenceHelper
|
cd ../PersistenceHelper
|
||||||
make clean
|
make clean
|
||||||
make package FINALPACKAGE=1
|
make do FINALPACKAGE=1
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
cp ../PersistenceHelper/.theos/obj/TrollStorePersistenceHelper.app/TrollStorePersistenceHelper ./out/TrollStore.app/PersistenceHelper
|
cp ../PersistenceHelper/.theos/obj/TrollStorePersistenceHelper.app/TrollStorePersistenceHelper ./out/TrollStore.app/PersistenceHelper
|
||||||
|
|
Loading…
Reference in New Issue