#err file not found in 'app.asar'
56 messages · Page 1 of 1 (latest)
packager config
I will make a wild guess, this file is not packaged because you are not importing it anywhere
yes true , in other case i have to update my code to use an import statement
but in this case am not importing it
try to use packagerConfig.extraResource to add it in the package
Documentation for @electron/packager
i will, thanks
yes true
same nothing changes
changed
even when i unpack my app.asar i don't see the file there
maybe you haven't put the right path
the path sould be './src/style.json' , src is in the same directory as config file , but the same error !!!!
resources are in different path
not inside of app
resources/style.json
resources/app.asar
the style.json file is inside src folder
so the path to passe to extraResources should "./src/myfile"
extraResources copy you file from path_a to path_b
i know, but it's not working for me
i mean look, the path am provding is correct and still can't see the file on my app.asar
show resources folder
what to show there is nothing exept app.asar
resoureces/app.asar
resources/app.asar
please can any one help still facing the same problem
even tho i fix the typo nothing changed
do you have files in resource folder?
i fix it and now i can see the file in resources folder, i think i were puting a property that does not exist "admin" before the extraResource property and that's why it was not working
am not read only am writing to
am using it in my app demo version and am writing the date to that file, am passing an array that contains an encrypted date along with the encrypt key and iv
as i said
you can or you can't ?
