This requires some care because you can't perturb stdin while trying things, but --dry-run comes to the rescue there.
To test:
Build and install version 0.1.5 from this branch.
Remove Java from your path
- Get to the PC Properties by opening a File Explorer window, right-click This PC, choose Properties
- Click Advanced system settings on the left side of the window
- Click the Environment Variables button
- In the System Variables box, click Path then click Edit...
- I'm not certain what you'll see next. Windows 10 offers a list of directories on single lines, other versions just offer a dialog box with a text box in it. Somehow remove %ProgramData%\Oracle\Java\javapath and save the new version.
Open Chrome, log in to a web client and try to configure the print settings
If you see any printers in the list, success!
Put that path back where it belongs and you're done.
Here's a branch that does some very basic testing to see if it can find the correct Java path: git.evergreen- ils.org/ ?p=working/ Hatch.git; a=shortlog; h=refs/ heads/user/ jboyer/ lp-1743604- java-path
http://
This requires some care because you can't perturb stdin while trying things, but --dry-run comes to the rescue there.
To test:
Build and install version 0.1.5 from this branch. \Oracle\ Java\javapath and save the new version.
Remove Java from your path
- Get to the PC Properties by opening a File Explorer window, right-click This PC, choose Properties
- Click Advanced system settings on the left side of the window
- Click the Environment Variables button
- In the System Variables box, click Path then click Edit...
- I'm not certain what you'll see next. Windows 10 offers a list of directories on single lines, other versions just offer a dialog box with a text box in it. Somehow remove %ProgramData%
Open Chrome, log in to a web client and try to configure the print settings
If you see any printers in the list, success!
Put that path back where it belongs and you're done.