I use Windows 11. Some weeks ago I had installed Kate via the Microsoft Store. Then I configured it as editor for Git, by editing my .gitconfig file and adding (in section [core]) this line:
editor = "C:/Program Files/WindowsApps/KDEe.V.Kate_25.801.10280.0_x64__7vt06qxq7ptv8/bin/kate.exe" --startanon --new --block
Today I used Git and it tried to start Kate, but that failed because the path to kate.exe has changed (now it is installed in C:Program FilesWindowsAppsKDEe.V.Kate_25.1200.10817.0_x64__7vt06qxq7ptv8binkate.exe). Apparently there was an automatic update to a newer Kate version, which broke the path I had configured in .gitconfig.
I don’t want to edit .gitconfig whenever Kate is updated. Is there a way to get a “stable” path for starting Kate? I had experimented with .lnk and .bat files, but lack the experience to find a good solution.