Closed probablykasper closed 3 years ago
Looking at CPU usage, this seems to be connected with the tccd
root process. It goes to 50% CPU when opening the app normally, but only hits 3% when running the app directly from CLI.
Just curious, can you try using darkModeSupport: true
instead of using extendInfo
?
Ref: https://github.com/electron/electron/issues/19009#issuecomment-543258856
@mmaietta The freeze is still there, but it somehow made it significantly faster
Hmmm Can you please post the log of DEBUG=electron-builder yarn electron-builder
?
For sure, here:
. .
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I have an app which makes my PC freeze for a few hundred milliseconds whenever I open it. Everything on screen freezes except the cursor. However, there's no freeze when running
/Applications/Ferrum.app/Contents/MacOS/Ferrum
directly from CLI. There's also no freeze when runningelectron .
in development.If a reproduction repo is necessary, let me know.
package.json build options
``` "build": { "appId": "space.kasper.ferrum", "productName": "Ferrum", "artifactName": "${productName}-v${version}-${os}.${ext}", "mac": { "category": "public.app-category.music", "icon": "assets/Logo 1024.png", "target": [ "dmg" ], "extendInfo": { "NSRequiresAquaSystemAppearance": false } }, "files": [ "build", "src/electron.js", "src/electron/**/*.js", "src/variables.json", "native/addon.node" ], "directories": { "buildResources": "build_resources", "output": "dist" } }, ```Logs from
Console.app
generated during the freeze: