Skip to content

fix(agent-tars): implicitly chat session #494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

knoxnoe
Copy link
Contributor

@knoxnoe knoxnoe commented Apr 14, 2025

Before
20250414234234_rec_

After
20250414234930_rec_

@knoxnoe knoxnoe changed the title fix: implicitly chat session fix(agent-tars): implicitly chat session Apr 14, 2025
this.autoUpdater.checkForUpdatesAndNotify();
}
// Only check for updates in the packaged version!
this.autoUpdater.checkForUpdatesAndNotify();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check updates in development?

Copy link
Contributor Author

@knoxnoe knoxnoe Apr 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, Repeat?

 if (app.isPackaged) {
      autoUpdater.logger = logger;
      autoUpdater.autoDownload = true;
      autoUpdater.on('error', (error) => {
        logger.error('Update_Error', error);
        mainWindow.webContents.send('main:error', error);
      });
      autoUpdater.on('update-available', (releaseInfo: UpdateInfo) => {
        logger.info('new version', releaseInfo);
        mainWindow.webContents.send('app-update-available', releaseInfo);
      });

      this.autoUpdater = autoUpdater;

      if (app.isPackaged) {
        // Only check for updates in the packaged version!
        this.autoUpdater.checkForUpdatesAndNotify();
      }
    }
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants