English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Portable mode ignores configdir setting in Kitty.ini

JBert - Tue 17/07/2018 15:11:34 CEST +0200

Hello,

I always run KiTTY in portable mode (i.e. with the savemode=dir parameter in %APPDATA%\kitty.ini). Since I install it using Chocolatey in the read-only directory c:\ProgramData\chocolatey\lib\kitty\tools\ I put configdir=c:\Users\JBert\AppData\Roaming\KiTTY\ in my kitty.ini.

My Chocolatey install indicated that KiTTY could be updated, which I did last weekend. Before I was running version 0.70.0.1, now I have 0.70.0.5. When I open KiTTY I expect that all my sessions are there, but after the upgrade they weren't.

It took a few hours of troubleshooting but I figured it out: in this newer version the backslash at the end of the configdir setting breaks KiTTY's session loading, it will only look for the Session dir in the location where kitty.exe is located. So for others who have the same use case and problem, just chop off the final backslash as a workaround e.g. configdir=c:\Users\JBert\AppData\Roaming\KiTTY

I would like to ask though if someone can look into this to see if it's an accidental change or whether it's meant to be used without a final backslash.

Thanks for your effort!




Answer


The forum is actually closed