snolab / CapsLockX

Manipulate your computer like a hacker! 像黑客一样操作电脑!
https://snolab.github.io/CapsLockX/
GNU General Public License v3.0
249 stars 24 forks source link

Unable to launch CLX with default settings | 新安装的 CLX 无法正确启动 #65

Closed shiyuwang-jamk closed 1 year ago

shiyuwang-jamk commented 1 year ago

On Windows 10 22H2. At the time, the CLX version is 1.30.3.

Tried both npm and choco to install a brand new copy, and this popped up: image

And then I tried to fix the issue myself by commenting out the Blender code block mentioned in the dialog seen in the form of the screenshot above, only to be met with the following message upon relaunch: image

For one with no knowledge of how the ahk scripts are intertwined, I have no idea how to take care of the problem, especially when another instance of the latest CLX on the other computer of mine works just fine.

shiyuwang-jamk commented 1 year ago

Tried again in a newly-configured Windows 11 VM, and it launched smoothly: image

shiyuwang-jamk commented 1 year ago

So it seems that %AppData\CapsLockX\CapsLockX-Config.ini on my machine was broken or corrupt, and any new installs of CLX won't check this config file for errors before putting its settings into practice. I substituted the config file with one from another device where CLX runs normally. And the issue has since been resolved.