Closed Bug-Reaper closed 1 month ago
@Bug-Reaper
https://github.com/electron/asar/blob/a61839f83ef406fd3e160308e1902894aefdea5a/lib/filesystem.js#L87
Asar indeed has size limitations. You can place these 3D assets in a resource folder or another directory. It will be a bit more cumbersome to access them, as you will need to modify the reading path.
Ahh yes the extraFiles
is kinda cumbersome to access but I've used it before. Did not realize ASAR had such restrictive max-size requirements. Thanks @beyondkmp !
I have a sneaking suspicion that I may encounter some trouble with my windows NSIS installer as Microsoft has some ancient max-size installer requirements but I'll start a separate issue if I bump into that.
I want to build a large electron app and support auto-updates. I know it is possible to create a valid DMG build as I have previously done so via
electron-forge
however forge has some undesirable other aspects and is "lightly maintained" according to the current team so I'd prefer to use electron-builder.My app is large as it contains many 3D assets, etc so looking for clarity on this hardcoded asar size check?
Error Message: