qode
qode copied to clipboard
qode.exe can't be renamed after packaging?
if rename to other name, it will get some error as follow:
$ ./a.exe
internal/modules/cjs/loader.js:1226
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\H:\cloud-music-nodegui\deploy\win32\build\music\dist\nodegui_core-7c7efccfbf9f07e96c6307682942859c.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1226:18)
at Module.load (internal/modules/cjs/loader.js:1040:32)
at Function.Module._load (internal/modules/cjs/loader.js:929:14)
at Module.require (internal/modules/cjs/loader.js:1080:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:6:8607)
at n (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:110)
at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:1001)
at n (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:110)
at Object.<anonymous> (H:\cloud-music-nodegui\deploy\win32\build\music\dist\index.js:1:1317)
@master-atul if rename the qode.exe, cant load nodegui_core.node ,some things bound for nodegui_core.node ?
I am not really sure why this would happen. This needs further investigation. is it possible for you to create a shortcut to qode.exe and then rename that instead for now?
OK, Thanks