Closed horizontalz closed 6 years ago
Try quitting Restor and make sure there are no running instances of com.google.corp.restord
. A command like sudo killall com.google.corp.restord
would do the trick. Then try launching Restor again.
If you are still having trouble, you can try deleting the currently installed daemon.
Quit Restor and sudo rm /Library/PrivilegedHelperTools/com.google.corp.restord
.
I don't think those tools even downloaded. Where are these tools originating from?
The helper daemon com.google.corp.restord
is packaged inside of Restor.app.
It is installed by Restor when your are prompted for your admin credentials.
I do receive that prompt, but when I type in my credentials, it does not seem to install anything. One thing to note is that I modified the info.plist to disable the App Transport Security policy (my file server does not have https enabled).
Ah, yeah that will do it. Modifying the Info.plist breaks Restor's code signing. Its code signature needs to be intact for the helper tool to be installed successfully.
Luckily Restor is open source. You can make any changes you like and build a version for yourself. A rough outline: Clone the source Add the desired NSAllowsArbitraryLoads keys Build and Sign
For more context: https://github.com/google/restor/issues/9
I downloaded the source files and attempted to create a build but it failed. It seems to missing some files?
@horizontalz if you're just trying to add NSAllowsArbitraryLoads
I'm going to try to maintain a fork with that enabled here https://github.com/clburlison/restor_local_starter_pack. It has my code signing identity. If you have already ran Restor v1.5 you'll need to run sudo rm /Library/PrivilegedHelperTools/com.google.corp.restord
prior to launching my version.
A rough guideline for how to build from source:
pod install
Restor
& com.google.corp.restord
targets inside of Xcode projectmake google_release
Thanks @clburlison!
Nice, thanks @clburlison. You rock!
When I launch Restor, I get a "Failed to connect to helper tool"