View Single Post
Old 09-01-2019, 11:42 PM   #108
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
Can't believe I've only just found out about Kobo patching after having had one for a couple of years. Back in the Sony PRS days I used to play around a lot with patches.

Anyways, I'm a Windows user but prefer my Unixy environments, including doing as much as possible with Cygwin on Windows. This little patch lets me run kobopatch from Cygwin using kobopatch.sh instead of needlessly needing me to fire up a CMD shell in the right folder .

Code:
--- kobopatch.sh.ORIG   2019-07-18 12:16:00.000000000 +1000
+++ kobopatch.sh        2019-09-02 13:35:38.857097400 +1000
@@ -23,4 +23,7 @@
                 echo "Unsupported architecture"
        esac
        ;;
-esac
+    CYGWIN_NT*)
+           ./bin/koboptch-windows.exe
+           ;;
+esac
snarkophilus is offline   Reply With Quote