β¨ Changelog v1.2.2 β CPX Laptop
Upgrade safety: zero data loss. Players keep their widgets, wallpapers, mail, notes, documents, calendar events, darkchat history and selected language. No migrations needed β just drop in and restart.
Performance β‘
-
Windows now drag in real time following the cursor. Before: window stayed frozen and jumped to the final position on release.
-
Dock drag-out is smooth β pulling an app icon onto the desktop no longer lags. Ghost uses imperative translate3d + requestAnimationFrame + will-change: transform β zero React renders during drag.
-
backdrop-filter disabled during window drag (via .is-dragging class). CEF was recomputing the blur of the wallpaper + overlapping windows every frame β single biggest FPS killer. Visual delta is imperceptible, drag stays locked at 60fps.
-
6 per-second timers paused when laptop is closed (Wallet, Passport, Health Γ2, App Store, Games). They were burning CPU in the background because components stay mounted (hidden) after close. Now zero cost.
-
Dock component memoized with React.memo β skips parent-driven re-renders triggered by unrelated state changes (toasts, clock, etc.).
-
Production logs stripped via import.meta.env.DEV gate. Cleaner CEF console for end users, errors still visible for server owners debugging.
Defaults β safe on upgrade π
-
Default language is now en for fresh installs (~80% of the FiveM audience). Existing players keep whatever language they had β the store auto-locks their locale on rehydrate if any locale is persisted. No one's UI flips on upgrade.
-
Cleaner desktop for fresh profiles β 3 widgets by default (photo, clock, mail) instead of 9. Existing players keep their current layout untouched (persisted per-citizenid). The other widgets are one click away in Settings β Widgets.