sendStatusToWindow(status, arg) {
    if (status === undefined) return;

    const currentStatus = status ?? this.currentStatus;
    const currentInfo = arg ?? this.currentInfo;

    this.currentStatus = currentStatus;
    this.currentInfo = currentInfo;

    if (this.rendererWindow.isDestroyed()) return;
    this.rendererWindow.webContents.send(currentStatus, currentInfo);
  }
Sends the updater status and args to renderer process.
Also updates the current status in the updater service.

@param {string?} status
@param {any?} arg