nodegui / qode

DEPRECATED: Please see https://github.com/nodegui/qodejs instead
https://nodegui.github.io/nodegui/#/tutorial/application-architecture?id=qode
91 stars 10 forks source link

qode.exe can't be renamed after packaging? #21

Open jardenliu opened 4 years ago

jardenliu commented 4 years ago

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)
jardenliu commented 4 years ago

@master-atul if rename the qode.exe, cant load nodegui_core.node ,some things bound for nodegui_core.node ?

a7ul commented 4 years ago

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?

jardenliu commented 4 years ago

OK, Thanks