Skip to content

@caoergou/windows-xp / index / CulturePackage

Interface: CulturePackage

Defined in: src/data/culture/types.ts:92

A culture package — the era/region/language content of a desktop: shortcuts, start menu, homepage, sticky note, wallpaper, i18n resources and more.

Prefer the defineCulture factory, which validates the package (app-id references, locale consistency, missing i18n keys) at author time.

Properties

browser?

> optional browser?: BrowserCultureProfile

Defined in: src/data/culture/types.ts:108

Default browser homepage.


desktopShortcuts?

> optional desktopShortcuts?: DesktopShortcut[]

Defined in: src/data/culture/types.ts:104

Desktop shortcuts.


displayName

> displayName: string

Defined in: src/data/culture/types.ts:96

Human-readable name for the culture picker.


hourlyChime?

> optional hourlyChime?: boolean

Defined in: src/data/culture/types.ts:118

Play the hourly chime on time:hour (off by default, #130).


i18n?

> optional i18n?: Record<string, Record<string, string>>

Defined in: src/data/culture/types.ts:102

Extra i18n resources merged into the windows-xp namespace ({ lang: { key: value } }).


id

> id: string

Defined in: src/data/culture/types.ts:94

Unique id, e.g. 'en', 'zh', 'jp-retro'.


locales

> locales: string[]

Defined in: src/data/culture/types.ts:98

Language codes this package activates for, e.g. ['ja', 'ja-JP'].


qq?

> optional qq?: QQProfile

Defined in: src/data/culture/types.ts:114

QQ Messenger profile — buddies / groups / scripted messages (#119), read by the QQ app.


requiredApps?

> optional requiredApps?: string[]

Defined in: src/data/culture/types.ts:100

App ids this package needs registered; used for a startup check.


startMenu?

> optional startMenu?: StartMenuProfile

Defined in: src/data/culture/types.ts:106

Start-menu pinned/recent apps.


startupNotification?

> optional startupNotification?: StartupNotification

Defined in: src/data/culture/types.ts:112

Tray balloon shown after login (#118).


stickyNote?

> optional stickyNote?: StickyNoteContent

Defined in: src/data/culture/types.ts:110

Desktop sticky note.


wallpaper?

> optional wallpaper?: string

Defined in: src/data/culture/types.ts:116

Default wallpaper URL.