🏷️ Search for custom tailnet name offers with keywords.
at master 23 lines 697 B view raw
1import { setupAlarms } from '$background/alarms'; 2import { updateBadgeText } from '$background/badge'; 3import { setupCookies } from '$background/cookies'; 4import { setupMessaging } from '$background/messaging'; 5import { setupNotifications } from '$background/notifications'; 6import { setupStorage } from '$background/storage'; 7import { log } from '$helpers/logging'; 8 9export default defineBackground(() => { 10 log('Setting up alarms and event listeners...', 'DEBUG', 'Setup'); 11 12 // Update badge on startup 13 updateBadgeText(); 14 15 // Setup listeners 16 setupAlarms(); 17 setupCookies(); 18 setupMessaging(); 19 setupNotifications(); 20 setupStorage(); 21 22 log('Background setup complete.', 'DEBUG', 'Setup'); 23});