Unlocker issue, what could I do wrong?
-
Everything works well and has been thoroughly tested on macOS.
But trying to port my app on windows,unlocker.keyFileExists()
returnsfalse
in HISE (and probably in exported app too....)The JUCER file of the HISE build is the same for both OS.
That part of the unlocker script is dead easy and can be reduced to:
const var unlocker = Engine.createLicenseUnlocker(); inline function check() { return unlocker.keyFileExists(); // FALSE } check();
Could Windows restrict the access to external files?
Could there be an equivalent to the mac's app signing that could be an issue?
I'm not a Windows guy so my knowledge is very limited here...Ho and it has been tried on both a VM and a real win machine...
-
-
Found the issue.
Since I am not writing the license file usingwriteKeyFile
but instead I do it manually, the extension of the file should be different on OSX and WIN (respectively.license
and.license_x64
) -