You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So ive included this in an electron app. But when i try and run this code from the application it creates the .wsx with incorrect asar paths. It assumes .asar files are directories when compiled with electron.
For example when i run the script without electron, it looks like: (THIS IS CORRECT) <File Name="app.asar" Id="resources_app.asar" Source="C:\Users\Lauran\Desktop\win-packager\win-packager\release-builds\the-x-factory-sing-it-win32-ia32\resources\app.asar" KeyPath="yes" Checksum="yes"/>
With Electron (THIS IS INCORRECT) <Directory Id="resources_app.asar_.somefile" Name=".somefile">
It thinks all asar files are directories. Which is incorrect. I'm also using full paths for everything.
My assumption would be that electron contains asar dependencies and is causing them to get unpacked?
How can i work around this?
UPDATE:
I see the issue is related to klaw and is currently an open issue. manidlou/node-klaw-sync#7
UPDATE 2:
According to the developers at klaw, the code in walker should have never worked, it is suppose to return a directory for .asar files, but running this script without electron returns them as files. I'm crazy lost to whats going on.
The text was updated successfully, but these errors were encountered:
markmorris
added a commit
to markmorris/electron-wix-msi
that referenced
this issue
Oct 15, 2018
I'm trying to write an app that packages my apps.
So ive included this in an electron app. But when i try and run this code from the application it creates the .wsx with incorrect asar paths. It assumes .asar files are directories when compiled with electron.
For example when i run the script without electron, it looks like: (THIS IS CORRECT)
<File Name="app.asar" Id="resources_app.asar" Source="C:\Users\Lauran\Desktop\win-packager\win-packager\release-builds\the-x-factory-sing-it-win32-ia32\resources\app.asar" KeyPath="yes" Checksum="yes"/>
With Electron (THIS IS INCORRECT)
<Directory Id="resources_app.asar_.somefile" Name=".somefile">
It thinks all asar files are directories. Which is incorrect. I'm also using full paths for everything.
My assumption would be that electron contains asar dependencies and is causing them to get unpacked?
How can i work around this?
UPDATE:
I see the issue is related to klaw and is currently an open issue.
manidlou/node-klaw-sync#7
UPDATE 2:
According to the developers at klaw, the code in walker should have never worked, it is suppose to return a directory for .asar files, but running this script without electron returns them as files. I'm crazy lost to whats going on.
The text was updated successfully, but these errors were encountered: