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
Running Windows x64
Building win32-x64
electron-packager v4.1.3
Options:
// My script handles arguments, but I tested with the following values.varplatform='win32';vararch='x64'varpackagerOpts={dir: __dirname+'/..',name: 'Squelch-'+platform+'-'+arch,asar: true,version: pkg.devDependencies['electron-prebuilt'].match(/\d+\.\d+\.\d/)[0],platform: platform,arch: arch,out: __dirname+'/../release',prune: true,ignore: ['/test($|/)','/tools($|/)','/scripts($|/)','/release($|/)',]};packager(packagerOpts,function(err,path){if(err){throwerr;}console.log('Successfully built package at '+path);});
The build completes without errors, but my app.asar seems to be empty. I can run asar list resources/resources/app.asar and it won't output anything. My app code is there in resources/app, and removing that makes the app open the default_app instead, so it's definitely not loading from app.asar.
...Actually, why is my app code there as a folder? Either the asar option doesn't work right or that just ruins the point of asar.
The text was updated successfully, but these errors were encountered:
Running Windows x64
Building win32-x64
electron-packager v4.1.3
Options:
The build completes without errors, but my app.asar seems to be empty. I can run
asar list resources/resources/app.asar
and it won't output anything. My app code is there inresources/app
, and removing that makes the app open the default_app instead, so it's definitely not loading from app.asar....Actually, why is my app code there as a folder? Either the asar option doesn't work right or that just ruins the point of asar.
The text was updated successfully, but these errors were encountered: