View Single Post
Old 01-10-2025, 05:46 PM   #1205
Ben64
Junior Member
Ben64 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2025
Device: Kobo BW
Thank you for answering DNSB.
I tried what you said and it didn't work. I restarted my kobo and plugged it and connected to Windows.
I downloaded OCP-Plato-0.9.44_KOReader-v2024.11.zip on my Windows 11 PC and put it in an empty new folder on my desktop. Then, I downloaded the script install.ps1 on my pc and put in the same folder as OCP-Plato-0.9.44_KOReader-v2024.11.zip.
After that, I right-clicked on install.ps1 and allowed it to run (like in the screenshot).
next, I ran the script with PowerShell: quick black window and nothing else.
I dismounted Kobo and restarted it.
Nothing.
After 3 tries, I decided to make a factory reset and the Kobo recovered from the buggy menu. That's great.
Now I want to understand what mistake I keep on making because it's not the first tutorial I am following.

In the install file, there are these lines:
# Ask the user what they want to install...
# NOTE: Case is a joy on Windows (https://github.com/PowerShell/PowerShell/issues/7578),
# so we simply prefix our package names to avoid accepting stock packages here...
$VALID_GLOBS=@("OCP-KOReader-v*.zip", "OCP-Plato-*.zip", "OCP-KFMon-*.zip", "KFMon-Uninstaller*.zip")
$AVAILABLE_PKGS=@()
foreach ($pat in $VALID_GLOBS) {
foreach ($file in Get-ChildItem -File -Name $pat) {
if (Test-Path $file) {
$AVAILABLE_PKGS+=$file

Is the package name incompatible and have to change it?
-->$VALID_GLOBS=@("OCP-KOReader-v*.zip", "OCP-Plato-*.zip", "OCP-KFMon-*.zip", "KFMon-Uninstaller*.zip") and add "OCP-Plato-0.9.44_KOReader-v2024.11.zip"?

It doesn't ask me what to install or anything, just a black window.
So frustrating...
Ben64 is offline   Reply With Quote