ramensoftware / windhawk

The customization marketplace for Windows programs: https://windhawk.net/
https://windhawk.net
GNU General Public License v3.0
1.06k stars 28 forks source link

"Compilation failed, the mod might require a newer Windhawk version" #172

Open ian-battaglia opened 3 months ago

ian-battaglia commented 3 months ago

Hi there,

Just learned about Windhawk, and wanted to install some mods to reduce the size of the taskbar, among others. I installed Windhawk v1.4.1 today from the official website, but when I go to install a mod, I get this error:

Compilation failed, the mod might require a newer Windhawk version

I don't have any antivirus on the computer aside from the default Windows security stuff, but I didn't see it flag anything. I'm also running the latest version of Windows 11, updated today. Any idea what I might be doing wrong?

m417z commented 3 months ago

This error message means that the compiler wasn't able to successfully compile the code, which shouldn't happen for the latest Windhawk version.

Please trigger the error, then check the following folder:

C:\ProgramData\Windhawk\EditorWorkspace

Do you have files named compiler_errors.log, compiler_output.log there? Can you post their content?

If the files are empty, that means that the error isn't a compilation error. In this case, please try to uninstall and reinstall Windhawk. Settings will be kept unless you choose to explicitly remove them while uninstalling.

If nothing of the above will help, we'll try to run the compiler manually from cmd. I'll follow up with further instructions after your update.

ian-battaglia commented 3 months ago

Both of those files were empty, so I uninstalled via the Windows "Add or remove programs" dialogue, deleted the Windhawk folder under program data, and reinstalled from the site, but still no luck.

m417z commented 3 months ago

OK, let's try the following: