GooseMod / OpenAsar

Open-source alternative of Discord desktop's app.asar
https://openasar.dev
GNU Affero General Public License v3.0
2.54k stars 67 forks source link

Updated switches/arguments for electron #162

Open jakewdr opened 11 months ago

jakewdr commented 11 months ago

1) Added the --disable-background-networking flag to the basic mode, added chromiums native v8 compile cache for peformance mode and also enabled/disabled low end device mode depending on performance/battery 2) Added the remove annotations argument to the uglifierjs commands in the minify.sh file

Also would be cool for a 'gaming mode' which uses performance mode but omits the gpu performance features (to reduce the background GPU usage of discord),I was too lazy to implement this...