Skip to content

Update - #16

Merged
merfiDEV merged 4 commits into
masterfrom
update
Sep 17, 2026
Merged

merfiDEV merged 4 commits into
masterfrom
update

Conversation

@merfiDEV

Copy link
Copy Markdown
Owner

No description provided.

Introduce user pet ("чубрик") support: create <userData>/pets, normalize/seed sprites and add pet-image utilities. Add IPC handlers (cuckoo-pets-list, cuckoo-pets-open-folder, cuckoo-pets-import) and expose APIs in preload. Add settings keys (petMode, petRatioX, petRatioY, petSize, petId, petDebugMode) and settings-tab UI for listing/importing/selecting pets and toggling debug. Implement DOM pet renderer (draggable/resizable, docked/center modes, hotkeys F8/F9/F10/F11) in src/preload/dom/pet.js. Minor preload and IPC cleanups and i18n strings for pet UI. New files: src/main/pet-image.js, src/preload/dom/pet.js; modified settings-store, main/index, main/ipc, preload files and settings tab.
Introduce pet ("chubrik") support and a configurable JS execution timeout. Added built-in pet assets (src/ui/pets) and seeded them into userData on first run. Extended bot settings with a Pets page, dynamic pet listing, enum helper, and related i18n keys. Added jsTimeoutSec default to settings-store and a settings-tab UI (validation + save) to control the JS timeout. JsRunner now reads the timeout from settings (getRunDeadlineMs, clamped to min/max) and exports related helpers. Minor logging/error handling added for robustness.
Add petEnabled setting and wiring so settings changes (from TG-bot or other windows) are pushed to UI. Bots: add i18n labels, settings item and _notifySettingsChanged to broadcast 'cuckoo-settings-changed'. Main: default petEnabled = true. Preload: expose onSettingsChanged API. UI: background module listens and reapplies visuals; pet module respects petEnabled, adds setEnabled and reacts to setting patches; settings-tab adds checkbox to toggle and persist petEnabled. Includes minor formatting/refactor cleanups.
@merfiDEV
merfiDEV merged commit 990d11a into master Sep 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant