Remove unnecessary steps

I'm not sure how it is happening, but both ffmpeg-static and onnx get to their
correct path without this configuration. the paths it gets to is also slightly
different, so it seems that this snippet does not have any effect (at best):

    ente.app/Contents/Resources/app.asar.unpacked/node_modules
This commit is contained in:
Manav Rathi 2024-03-21 10:43:33 +05:30
parent bb865a7b15
commit cc623e5010
No known key found for this signature in database

View file

@ -31,17 +31,6 @@ mac:
hardenedRuntime: true
x64ArchFiles: Contents/Resources/ggmlclip-mac
afterSign: electron-builder-notarize
# When Electron packages our node_modules, they go into the ASAR archive. This
# is not what we want for the FFMPEG binaries though, and instead put them
# outside of the ASAR archive so that we can get at a direct path to these files
# when trying to run it.
#
# The filtering by `${os}` and `${arch}` is to include only the binaries for the
# os/arch combination that we're bundling.
asarUnpack:
- node_modules/ffmpeg-static/bin/${os}/${arch}/ffmpeg
- node_modules/ffmpeg-static/index.js
- node_modules/ffmpeg-static/package.json
extraFiles:
- from: build
to: resources