pit-ray / win-vind

You can operate Windows with key bindings like Vim.
https://pit-ray.github.io/win-vind/
MIT License
1.94k stars 45 forks source link

[Bug] Could not get startup diorectory #275

Open NickHooked opened 2 weeks ago

NickHooked commented 2 weeks ago

About Bug

After installing with Choco and trying to start Win-vind it crashes.

The log file contains the following: ========== System Infomation ========== [Windows] Edition: Windows 10 Pro Version: 22H2 Build Numbers: 10.0.19045 Architecture: x64

[win-vind] Version: 5.13.2.0

[Message] Version: huge [Error] The system cannot find the file specified. [Error] An runtime exception occurred: Could not get startup directory. (int cdecl WinMain(struct HINSTANCE ,struct HINSTANCE__ ,char *,int))

Steps to reproduce

  1. Install
  2. Start win-vind
  3. Look in logs

Environments

========== System Infomation ========== [Windows] Edition: Windows 10 Pro Version: 22H2 Build Numbers: 10.0.19045 Architecture: x64

[win-vind] Version: 5.13.2.0

NickHooked commented 2 weeks ago

Manually adding the folder: C:\Users\<your user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup fixed my issue