static shouldUseGenericUpdater() {
    return isDebOrRpm() || isSnap() || process.env.DEV_MODE;
  }
Checks if a generic updater should be used over electron
auto-updater based on platform, package format and environment.