fixes and patches for merged changes

This commit is contained in:
DecDuck
2024-11-04 18:13:03 +11:00
parent 15204718cf
commit f6476bc804
3 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,8 @@
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.config.errorHandler = (error, instance, info) => {
// handle error, e.g. report to a service
};
// Also possible
nuxtApp.hook("vue:error", (error, instance, info) => {
console.log(error);
const router = useRouter();
router.replace("/error");
router.replace(`/error`);
});
});

View File

@ -22,7 +22,6 @@ use std::{
};
use std::sync::Arc;
use tauri_plugin_deep_link::DeepLinkExt;
use crate::db::DatabaseImpls;
use crate::downloads::download_agent::{GameDownloadAgent};
#[derive(Clone, Copy, Serialize)]