:electron: Embed the sync-server (experimental) (#4526)

* sync server embedded

* cleanup

* remove comment

* remove comment

* changing settings names

* release notes

* release notes

* making dev easier (and slower)

* updating reference to webroot

* using the workspace package yo

* coderabbit
This commit is contained in:
Michael Clark
2025-03-14 22:22:17 +00:00
committed by GitHub
parent 47c0d394ee
commit bdf76f6c63
8 changed files with 337 additions and 28 deletions

View File

@@ -34,21 +34,23 @@ if [ "$OSTYPE" == "msys" ]; then
fi
fi
yarn workspace loot-core build:node
# Get translations
echo "Updating translations..."
if ! [ -d packages/desktop-client/locale ]; then
git clone https://github.com/actualbudget/translations packages/desktop-client/locale
fi
pushd packages/desktop-client/locale > /dev/null
git checkout .
git pull
popd > /dev/null
packages/desktop-client/bin/remove-untranslated-languages
yarn workspace loot-core build:node
yarn workspace @actual-app/web build --mode=desktop # electron specific build
# required for running the sync-server server
yarn workspace loot-core build:browser
yarn workspace @actual-app/web build:browser
yarn workspace desktop-electron update-client
(