src/main/features/core/autoUpdater.js
Function setUpAutoUpdate
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const setUpAutoUpdate = () => {
if (global.DEV_MODE) return;
try {
autoUpdater.setFeedURL(`https://update.gpmdp.xyz/update/${platform}/${app.getVersion()}`);