Files
app/scripts/sync-windows-vm.cmd
T
denis0001-dev 91c3ff4018 Add optimized multi-platform release CI/CD pipeline
* Implement desktop support

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Window insets and more UI work

* Improve UI

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Fixes

* Improve chat UI

* More UI improvements

* Fix blur and make window size be remembered

* Improve UI

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* WebSocket status in tray, more UI fixes

* Prepare app build

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Update IDEA settings

* Fix UI issues, fix big memory leak

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Improve register and fix about app

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Auto-submit on Enter

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* More desktop and mobile fixes

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Context menu

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* macOS desktop notifications

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* macOS DMG installer

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>

* Windows installer

* Improve the installer, fix context menu on Windows, add CI workflows

* Fix release CI workflow and add Windows x64 installer build.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Allow Gradle desktop builds when Android signing keys are absent.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Speed up Windows x64 CI: beta build, fix MSVC lookup on GHA.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix attachments and tray menu on Windows

* Fix drag & drop

* Implement database lock handling, fix right pane invisible in settings

* Add optimized multi-platform release CI/CD pipeline.

Split Windows builds into shared x64 prep and arch-specific packaging, add comprehensive caching, verification scripts, and a PR smoke workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix release-smoke workflow YAML syntax error.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix CI smoke test compile scope and PE fixture size.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Simplify release CI: build only, inline workflow steps.

Remove test/smoke jobs and ci-*.sh scripts; embed compile, packaging, and version setup directly in release.yml.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 17:28:09 +03:00

52 lines
1.3 KiB
Batchfile

@echo off
setlocal EnableExtensions
rem Sync Mac workspace share -> local VM copy.
rem Uses /E (not /MIR) so VM-only build caches (target, build, .gradle) are never deleted.
set "SRC=C:\Mac\Home\Desktop\FromChat\app"
set "DEST=C:\FromChat\app"
if not exist "%SRC%\" (
echo ERROR: Mac share not found at %SRC%
echo Enable Parallels shared folders or adjust SRC in sync-windows-vm.cmd
exit /b 1
)
if not exist "%DEST%\" mkdir "%DEST%"
set "OPTS=/E /R:2 /W:2 /NP /NFL /NDL"
set "CACHE=/XD target build .gradle node_modules .git"
set "SKIP=/XF gradle-daemon-jvm.properties"
if /I "%~1"=="rust" (
echo Syncing app\desktop\windows-setup ^(keeping target\^)...
robocopy "%SRC%\app\desktop\windows-setup" "%DEST%\app\desktop\windows-setup" %OPTS% /XD target
goto :finish
)
if /I "%~1"=="scripts" (
echo Syncing scripts...
robocopy "%SRC%\scripts" "%DEST%\scripts" %OPTS%
goto :finish
)
if /I "%~1"=="gradle" (
echo Syncing app tree for Gradle ^(keeping build caches^)...
robocopy "%SRC%" "%DEST%" %OPTS% %CACHE% %SKIP%
goto :finish
)
echo Syncing full app tree ^(preserving target, build, .gradle^)...
robocopy "%SRC%" "%DEST%" %OPTS% %CACHE% %SKIP%
goto :finish
:finish
set "RC=%ERRORLEVEL%"
rem Robocopy: 0-7 = success (0 = nothing to copy, 1+ = copied files)
if %RC% GEQ 8 (
echo robocopy failed with exit code %RC%
exit /b %RC%
)
exit /b 0