@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
22 lines (16 loc) • 426 B
text/typescript
import { dispatch } from '@lobechat/electron-client-ipc';
class AutoUpdateService {
checkUpdate = async () => {
return dispatch('checkUpdate');
};
installNow = async () => {
return dispatch('installNow');
};
installLater = async () => {
return dispatch('installLater');
};
downloadUpdate() {
return dispatch('downloadUpdate');
}
}
export const autoUpdateService = new AutoUpdateService();