Commit Graph

37 Commits

Author SHA1 Message Date
Ivan Fontosh 07641be2d2 fix(ci): resilient large git push to updates feed (1.0.8)
Release / release (push) Failing after 6m13s
http.postBuffer 2GiB, disable low-speed abort, retry push; docs for nginx/Gitea limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.8
2026-05-12 11:04:31 +08:00
Ivan Fontosh 8bc2e5bd49 Release 1.0.7: Linux AppImage (x64/arm64) CI, merge update feed, docs
Release / release (push) Failing after 7m3s
- electron-builder linux + qemu cross arm64 on ubuntu-22.04 job
- sync-update-feed: merge copy, ARTIFACT_LINUX, .appimage
- GITEA_AUTO_UPDATE + MANUAL_MAC_UPDATE_UPLOAD

Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.7
2026-05-12 10:49:57 +08:00
Ivan Fontosh 2037144a5c fix(win): load window icon from ICO on disk + buffer PNG (1.0.6)
Release / release (push) Successful in 5m8s
nativeImage from paths inside app.asar often yields empty images on Windows.
Ship icon.ico via extraResources and read with createFromBuffer; setIcon on boot + app windows.

Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.6
2026-05-12 08:24:14 +08:00
Ivan Fontosh 1840227be6 fix(win): restore tray/taskbar and installer icons; release 1.0.5
Release / release (push) Successful in 5m8s
- Generate build/icon.ico for electron-builder (exe/NSIS/Programs list).
- Unpack branding PNGs from asar so nativeImage loads on Windows.

Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.5
2026-05-12 08:04:04 +08:00
Ivan Fontosh a15adfc3b1 ci(release): unpack win32 sharp package without npm install
Release / release (push) Successful in 5m9s
Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.3
2026-05-12 07:45:58 +08:00
Ivan Fontosh 82baef2b04 ci(release): install @img/sharp-win32-x64 with --os win32 --cpu x64 on Linux
Release / release (push) Failing after 28s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 07:43:03 +08:00
Ivan Fontosh e4b989c60f Release 1.0.3: Windows sharp in CI, manual update check, updater IPC
Release / release (push) Failing after 29s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 07:30:03 +08:00
Ivan Fontosh e165a41180 chore: release 1.0.2
Release / release (push) Successful in 4m58s
Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.2
2026-05-11 23:22:47 +08:00
Ivan Fontosh cd1f6dcc7e ci: single release job, drop GitHub upload-artifact on Gitea
Release / release (push) Successful in 4m32s
Co-authored-by: Cursor <cursoragent@cursor.com>
v1.0.1
2026-05-11 23:13:51 +08:00
Ivan Fontosh 06ffe9bb29 fix: patch app-builder-lib NSIS uninstaller extract on Linux (UninstallerReader before Wine)
Release / build-windows (push) Failing after 3m47s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 23:06:41 +08:00
Ivan Fontosh 0ba4b8379e build: NSIS artifactName without spaces (Wine __uninstaller on Linux)
Release / build-windows (push) Failing after 3m45s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:58:55 +08:00
Ivan Fontosh d3cdc468b5 ci: wine shim uses absolute wine64 path (stripped PATH in act)
Release / build-windows (push) Failing after 3m50s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:53:08 +08:00
Ivan Fontosh 875f8cbb3b ci: add wine->wine64 shim for electron-builder on Linux
Release / build-windows (push) Failing after 8s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:51:35 +08:00
Ivan Fontosh 93dad8a80d ci: win build deps without i386 (nsis + wine64) for Debian runners
Release / build-windows (push) Failing after 1m23s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:47:17 +08:00
Ivan Fontosh a583859f62 docs: detailed systemd unit for act_runner
Release / build-windows (push) Failing after 8s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:40:44 +08:00
Ivan Fontosh e76386ddb9 docs: expand act_runner download, token, register, WSL
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:34:46 +08:00
Ivan Fontosh 7fc952cc39 docs: act_runner required when Gitea shows 0 runners
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:27:24 +08:00
Ivan Fontosh 600b8f8321 ci: Gitea release on ubuntu runner (Wine for Win), drop github-only labels
Release / build-windows (push) Failing after 54s
Release / publish-update-feed (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:24:02 +08:00
Ivan Fontosh 30b57d842a chore: bump version to 1.0.1
Release / build-windows (push) Has been cancelled
Release / build-macos (push) Has been cancelled
Release / publish-update-feed (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:21:17 +08:00
Ivan Fontosh f462e65581 feat: i18n control, Gitea auto-update CI, license-gated updater, fixes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 22:20:14 +08:00
Ivan Fontosh 36776f4c5d chore: drop tracked .cursor; use sibling cursorAi repo (local junction)
Made-with: Cursor
2026-04-24 07:37:16 +08:00
Ivan Fontosh c9cad4dafd chore: move project-converter out of repo to dnd_project sibling
Remove tools/project-converter; converter now lives next to this repo under
dnd_project/project-converter. Update eslint ignore comment and optimizeImage
lib header. Converter main.js imports dnd_player via ../../dnd_player/...

Made-with: Cursor
2026-04-24 07:10:01 +08:00
Ivan Fontosh d94a11d466 Редактор: превью с поворотом, проекты, безопасное сохранение zip, dev-меню
RotatedImage: размер контейнера через clientWidth/Height (не getBoundingClientRect), чтобы cover при 90°/270° работал под zoom React Flow; убраны отладочные логи.

Главное меню в dev: пункт «Вид» с DevTools (Ctrl+Shift+I без пустого application menu).

Список проектов: project.list без лицензии; список подгружается при неактивной лицензии; ProjectPicker с подсказками; listProjects пропускает битые zip.

Сохранение проектов: atomicReplace — замена zip без rm до commit; восстановление *.dnd.zip.tmp при старте; тесты.

EditorApp: блокировка UI при открытых окнах презентации и пульта; стили оверлея.
Made-with: Cursor
2026-04-24 07:04:42 +08:00
Ivan Fontosh a24e87035a feat(editor): highlight edges and show preview import loader
- Highlight all edges connected to selected scene

- Show overlay spinner while uploading/optimizing preview image

- macOS: keep control window independent from presentation

Made-with: Cursor
2026-04-23 22:01:07 +08:00
Ivan Fontosh 8f8eef53c9 feat(project): optimize image imports and converter
- Optimize imported scene preview images (smart WebP/JPEG/PNG, preserve alpha, keep pixel size)

- Update converter to re-encode existing image assets with same algorithm

- Improve import/export progress overlay and reduce presentation slide stutter

Made-with: Cursor
2026-04-23 17:59:57 +08:00
Ivan Fontosh 1d051f8bf9 fix: game audio persistence and editor perf
- Keep game/campaign audio assets referenced (no prune)
- Flush pending project save on quit/switch/export to avoid losing campaignAudios
- Control: prevent game music restarts on scene changes; allow always-on controls; handle autoplay-after-scene-audio
- Editor: reduce ReactFlow churn with stable scene card map; lazy/async image decode
- Add contract/unit tests and update test script

Made-with: Cursor
2026-04-22 19:06:16 +08:00
Ivan Fontosh f823a7c05f fix(project): prevent deleted projects from resurrecting
- Migrate legacy project zips by moving instead of copying
- Remove legacy zip copies on project delete
- Add contract test for legacy migration/delete behavior

Made-with: Cursor
2026-04-22 15:29:22 +08:00
Ivan Fontosh ffce066842 fix(project): stabilize project deletion
- Guard renderer project list/get against stale initial loads
- Retry project zip/cache removal to handle transient Windows locks
- Surface deletion failures in UI and add regression tests

Made-with: Cursor
2026-04-22 15:12:25 +08:00
Ivan Fontosh add699a320 fix(video): prevent preview/presentation playback loop
- Avoid per-render target.set dispatch that reset playback

- Stop timer-based and per-frame React ticking while playing

- Add regression tests for render-loop sources

Made-with: Cursor
2026-04-20 18:30:47 +08:00
Ivan Fontosh 2ce1e02753 fix: unblock startup on network and external font
- Make license status snapshot non-blocking (revocation check in background)

- Speed boot by not awaiting license network and capping editor ready wait

- Stop disabling GPU by default on Win packaged builds

- Remove external font fetch; bundle local Inter

Made-with: Cursor
2026-04-20 16:28:17 +08:00
Ivan Fontosh e39a72206d feat: boot-экран, стабильность Windows и оптимизация Pixi/пульта
- Экран загрузки (boot.html, bootWindow): статусы, ensureRoots и проверка лицензии, редактор после готовности; закрытие через destroy при closable:false.

- Упакованное приложение на Windows: disableHardwareAcceleration, sandbox выкл. вне dev, отложенный показ редактора, ensureWindowBecomesVisible, фокус на splash при second-instance.

- Vite: вход boot.html; eslint: игнор release/; тесты boot и maxFPS тикера.

- Пульт: позиция курсора кисти через ref/DOM без setState на каждый move; черновик эффекта через rAF; Pixi: maxFPS 32, resolution cap, antialias off, debounce ResizeObserver, меньше частиц poisonCloud, contain на хосте.

Made-with: Cursor
2026-04-20 12:12:01 +08:00
Ivan Fontosh 20c838da7d feat(effects): вода, облако яда, луч света; пульт и окна демонстрации
- Поле: вода (сплошная заливка по штриху, превью кистью), туман/огонь/дождь без изменений логики.

- Действия: облако яда (частицы, круглая текстура, звук oblako-yada.mp3, длительность как у трека), луч света и заморозка со звуками из public/.

- Пульт: инструменты воды и яда, синхрон SFX, тесты панели и ластика.

- Окно управления: дочернее от окна просмотра (Z-order).

- Типы эффектов, effectsStore prune, hit-test ластика.

Made-with: Cursor
2026-04-20 11:03:57 +08:00
Ivan Fontosh 726c89e104 подготовка к билду 2026-04-19 23:22:05 +08:00
Ivan Fontosh 2fa20da94d Лицензия, редактор, пульт и сборка
- Main: license service, IPC, router; закрытие окон; yauzl закрытие zip (EMFILE), zipRead тест
- Editor: стабильный projectState без мигания, логотип и меню, строки UI, LayoutShell overlay
- Control: ластик для всех типов эффектов, затухание/нарастание музыки при смене сцены
- Сборка: vite, build/dev scripts, obfuscate-main и build-env скрипты с тестами; package.json

Made-with: Cursor
2026-04-19 20:11:24 +08:00
     Фонтош Иван Сергеевич 5e7dc5ea19 fix(icons): паритет иконки окна с pack-иконкой и sync lockfile
- Копировать build/icon.png в dist/renderer/app-pack-icon.png после Vite
- Приоритет pack PNG для BrowserWindow; на win32/linux без SVG в nativeImage
- macOS: app.dock.setIcon из того же набора PNG
- package-lock.json в соответствии с package.json

Made-with: Cursor
2026-04-19 15:00:33 +08:00
Ivan Fontosh d14a674e22 chore: включить .cursor в репозиторий для частного remote
Made-with: Cursor
2026-04-19 14:23:57 +08:00
Ivan Fontosh a6cbcc273e DNDGamePlayer: Electron редактор сцен, презентация, упаковка electron-builder
Made-with: Cursor
2026-04-19 14:17:13 +08:00