// utils.js - Shared utilities
export function getAppShortname() {
return 'Elly';
}
export function getAppName() {
return 'Elly, Your Nanny! - Website Blocker & Time Manager';
}
// Or get from manifest dynamically
export function getAppInfo() {
try {
const manifest = chrome.runtime.getManifest();
return {
name: manifest.name,
shortName: manifest.short_name || 'Elly',
version: manifest.version,
description: manifest.description
};
} catch (error) {
return {
name: 'Elly, Your Nanny! - Website Blocker & Time Manager',
shortName: 'Elly',
version: '2.1.4',
description: 'Website Blocker & Time Manager'
};
}
}