* fix chatbox issues

* fix ipc issues

* add Ipc debug
This commit is contained in:
Icey-Glitch
2025-10-20 20:47:24 -07:00
committed by GitHub
parent 1d0626f65f
commit f94b6ea8be
7 changed files with 283 additions and 204 deletions

View File

@@ -1,5 +1,5 @@
import { defineStore } from 'pinia';
import { watch } from 'vue';
import { watch, computed } from 'vue';
import { database } from '../service/database';
import { groupRequest } from '../api';
@@ -60,7 +60,12 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
const nextDiscordUpdate = state.nextDiscordUpdate;
const ipcTimeout = state.ipcTimeout;
const ipcTimeout = computed({
get: () => state.ipcTimeout,
set: (seconds) => {
state.ipcTimeout = Number(seconds) || 0;
}
});
async function updateLoop() {
try {