diff --git a/src/assets/defaults.ts b/src/assets/defaults.ts index 293d2b3a1..5f2389cf2 100644 --- a/src/assets/defaults.ts +++ b/src/assets/defaults.ts @@ -1,3 +1,4 @@ +import { allAutomagicIds, AutomagicId } from '@/libs/automagic' import { type MiniWidgetProfile, MiniWidgetType } from '@/types/miniWidgets' import { type Profile, WidgetType } from '@/types/widgets' @@ -586,3 +587,5 @@ export const miniWidgetsProfiles: MiniWidgetProfile[] = [ }, ] export const miniWidgetsProfile = miniWidgetsProfiles[0] + +export const defaultActiveAutomagicIds = allAutomagicIds diff --git a/src/main.ts b/src/main.ts index a5285836b..3055dcfba 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,6 +12,8 @@ import { createApp } from 'vue' import VueVirtualScroller from 'vue-virtual-scroller' import App from './App.vue' +import { defaultActiveAutomagicIds } from './assets/defaults' +import { runAutomagics } from './libs/automagic' import vuetify from './plugins/vuetify' import { loadFonts } from './plugins/webfontloader' import router from './router' @@ -23,3 +25,5 @@ const app = createApp(App) app.component('FontAwesomeIcon', FontAwesomeIcon) app.use(router).use(vuetify).use(createPinia()).use(FloatingVue).use(VueVirtualScroller) app.mount('#app') + +runAutomagics(defaultActiveAutomagicIds)