fix: rm packages/main/src/assets from extra resources to get included in app.asar

Apparently extra resources have higher priority and files included in extra resource
are getting dropped out of reqular resources included into  app.asar file.

Signed-off-by: Denis Golovin <dgolovin@redhat.com>
This commit is contained in:
Denis Golovin 2024-10-21 17:57:37 -07:00 committed by Denis Golovin
parent aa0ad91f11
commit c9fd779349

View file

@ -79,7 +79,7 @@ const config = {
buildDependenciesFromSource: false,
npmRebuild: false,
beforePack: async context => {
const DEFAULT_ASSETS = ['packages/main/src/assets/**'];
const DEFAULT_ASSETS = [];
context.packager.config.extraResources = DEFAULT_ASSETS;
// universal build, add both pkg files