Add QR auto-exec on app startup

This commit is contained in:
Cohee
2023-11-26 02:12:31 +02:00
parent 9587a704c5
commit c328d6f04a
3 changed files with 29 additions and 0 deletions

View File

@ -285,6 +285,7 @@ window["SillyTavern"] = {};
// Event source init
export const event_types = {
APP_READY: 'app_ready',
EXTRAS_CONNECTED: 'extras_connected',
MESSAGE_SWIPED: 'message_swiped',
MESSAGE_SENT: 'message_sent',
@ -744,6 +745,7 @@ async function firstLoadInit() {
initCfg();
doDailyExtensionUpdatesCheck();
hideLoader();
await eventSource.emit(event_types.APP_READY);
}
function cancelStatusCheck() {