Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

futurerestore Binary Path is Assumed During Restore Process #58

Closed
joshuaseltzer opened this issue Aug 22, 2021 · 3 comments
Closed

futurerestore Binary Path is Assumed During Restore Process #58

joshuaseltzer opened this issue Aug 22, 2021 · 3 comments

Comments

@joshuaseltzer
Copy link

I was attempting to use my own local copy of the futurerestore binary instead of the one that the application would download and put in my home directory. Unfortunately it looks like this feature doesn't work. I pointed out the line in your code where the process goes back and assumes that it's still in the home directory (in the FutureRestoreGUI folder).

File frGuiDirectory = new File(homeDirectory + "/FutureRestoreGUI");

@CoocooFroggy
Copy link
Owner

I am not able to reproduce the issue on macOS Big Sur. What operating system are you using?

The variable you linked is only used to set the working directory of the process. This line is basically used to set the binary's path in the process builder.

argsAndFR.add(0, futureRestoreFilePath);

@joshuaseltzer
Copy link
Author

Ah okay, that was just after a very quick glance at the code. Maybe it's not related to the binary, but the file path itself? If I deleted the FutureRestoreGUI folder from my home directory, would that cause the app not to function?

It was hanging on "Starting FutureRestore." When I had it download the futurerestore binary directory into the home folder, it worked flawlessly!

@pb5050
Copy link

pb5050 commented Oct 16, 2021

you can use that method or do like i did . go to runtime dir. Java.exe -Jar "futurerestore.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants