Skip to content
marcelEuchnerMartinez edited this page Feb 14, 2022 · 2 revisions

Working on Windows

This adds the option to run a file with HashLink directly by right mouse click. (This spares opening the powershell or cmd.exe and can be especially convenient when using HashLink on a daily basis.)

  1. Open your registry by pressing windows+r and type regedit. Then press OK/enter.

  2. On the left in the registry click on your computer and go down the path HKEY_CLASSES_ROOT/*/shell

  3. Under "shell" by right click on the icon you can add another key, e.g. "HashLink run" (only shown in registry)

  4. On the right change the value (e.g. by double click) to e.g. "Run with HashLink"

  5. Under the newly created key "HashLink run" (step 3) add another key called "command"

  6. Click on the key created ("command") and on the right change the value to (e.g.) "your\path\to\hashlink\hl.exe" "%1"

(Of course you can use the same approach to compile .hxml files directly by mouse with "your\path\to\haxe\haxe.exe" "%1".)

Clone this wiki locally