NiLuJe / kfmon

Kute File Monitor, an inotify-based Launcher for Kobo devices
http://www.mobileread.com/forums/showthread.php?t=274231
GNU General Public License v3.0
272 stars 15 forks source link

Tweak package selection input logic in Powershell install script #7

Closed trainmeditations closed 3 years ago

trainmeditations commented 3 years ago

Moved the output of the options to a function Loops input until a valid option is selected Used $j in local logic, export selection as $PKG_INDEX


This change is Reviewable

NiLuJe commented 3 years ago

As you may have surmised, I have basically no idea how PS works ;p.

But this looks sound, thanks :).

trainmeditations commented 3 years ago

No problem, was just checking it out before running it, there's a couple of other tweaks I could take a look at too.