View Single Post
Old 01-09-2019, 05:06 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,264
Karma: 19703052
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
Alternatively, I've also come up with small scripts to automate the process somewhat, with a few caveats:
  • They rely on decently recent features, on every platform (i.e., Windows 10, a not terribly outdated macOS version, and a decently recent Linux distribution).
  • They'll only behave properly with a *single* Kobo plugged to the computer. Running 'em with *no* Kobo plugged in is safe, running 'em with multiple Kobos may lead to unexpected behavior: it may be handled sanely, but it might not.
  • On macOS, this doesn't protect you from some of its stupid "Quality of Life" features. Of particular interest here, Safari and its tendency to do stupid things with ZIP archives. If you don't want to change your Safari settings, you'll have to fish out the original ZIP archive from your Trash.
  • Most browsers will treat the Windows script as a text file, so you'll have to Right Click > Save Link As (or Download Linked File in Safari) on the link to download it.
  • Every OS allows you to eject an USB device safely, without having to unplug it. Always do that. Only unplug it as a last resort.
  • Don't download the packages onto the device itself, that's unnecessary, and may actually complicate matters on Linux & macOS.

With that out of the way, here's what this is supposed to automate: figuring out where the Kobo is mounted, asking you to confirm what you want to install, and properly unpacking the right archive. This will also automatically prevent Nickel from scanning *nix hidden folders on FW 4.17+.

Note that, in addition to the packages in the first post, the scripts also handle KFMon's standalone install package, to quickly restore functionality after a FW update, for instance .

Onwards!

Windows:
  1. Check the previous message, and download the ZIP package that you're interested in.
  2. Download the Windows install script, in the same folder.
  3. Run the install.ps1 script with PowerShell (Right Click > Run with PowerShell).
    That should look like this:
  4. Follow the on-screen instructions.
  5. Safely eject your Kobo, watch it process & reboot .

macOS:
  1. Check the previous message, and download the ZIP package that you're interested in, remembering the macOS/Safari quirks I mentioned above.
  2. Download the macOS install script archive, and unzip it in the same folder.
  3. Run the install.command script (Right Click > Open > Then click Open in the GateKeeper popup).
    That should look like this:

  4. Follow the on-screen instructions. Close the window when it's done.
  5. Safely eject your Kobo, watch it process & reboot .

Linux:
  1. Check the previous message, and download the ZIP package that you're interested in.
  2. Download the Linux install script archive, and unzip it in the same folder.
  3. Run the install.sh script with your favorite terminal emulator.
    Here's how it looks like on KDE:
  4. Follow the on-screen instructions. Close the window when it's done.
  5. Safely eject your Kobo, watch it process & reboot .

And that's it! For reference, here's how the script's output could look like:
Attached Thumbnails
Click image for larger version

Name:	RunWith_PS1.png
Views:	6548
Size:	11.7 KB
ID:	168964   Click image for larger version

Name:	RunWith_macOS_1_of_3.png
Views:	2007
Size:	250.7 KB
ID:	168965   Click image for larger version

Name:	RunWith_macOS_2_of_3.png
Views:	1756
Size:	111.8 KB
ID:	168966   Click image for larger version

Name:	RunWith_macOS_3_of_3.png
Views:	1863
Size:	138.0 KB
ID:	168967   Click image for larger version

Name:	RunWith_KDE.png
Views:	4092
Size:	28.7 KB
ID:	168968   Click image for larger version

Name:	OCP_Example.png
Views:	3499
Size:	29.7 KB
ID:	168969   Click image for larger version

Name:	RunCmd_macOS.png
Views:	2730
Size:	63.7 KB
ID:	168975   Click image for larger version

Name:	RunCmd_macOS_GateKeeper.png
Views:	2252
Size:	26.2 KB
ID:	168977  

Last edited by NiLuJe; 06-05-2020 at 05:36 PM.
NiLuJe is offline   Reply With Quote