Remove Act, AutoUpdater, and Book IPC modules alongside associated database logic.

This commit is contained in:
natreex
2026-04-05 19:18:42 -04:00
parent d4765e6576
commit 687c1d582c
99 changed files with 500 additions and 28269 deletions

View File

@@ -1,4 +1,4 @@
import axios from 'axios';
import {fetch} from '@tauri-apps/plugin-http';
import {configs, isDesktop} from '@/lib/configs';
interface CrashReportPayload {
@@ -49,9 +49,10 @@ function getUserId(): string | undefined {
async function sendCrashReport(payload: CrashReportPayload): Promise<void> {
try {
await axios.post(configs.apiUrl + 'crash-report', payload, {
await fetch(configs.apiUrl + 'crash-report', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
timeout: 5000,
body: JSON.stringify(payload),
});
} catch {
// Silently fail — we can't crash while reporting a crash