mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
🐛 make build-browser, watch-browser commands use desktop-client vers (#447)
This commit is contained in:
committed by
GitHub
parent
851a25a62a
commit
392e0c6030
@@ -3,7 +3,7 @@
|
||||
ROOT=`dirname $0`
|
||||
cd "$ROOT/.."
|
||||
|
||||
VERSION=`cat "$ROOT/../../desktop-electron/package.json" | grep version | head -n1 | awk -F "\"" '{print $4}' | tr -d '\r\n'`
|
||||
VERSION=`cat "$ROOT/../../desktop-client/package.json" | grep version | head -n1 | awk -F "\"" '{print $4}' | tr -d '\r\n'`
|
||||
|
||||
echo "Building version $VERSION for the browser..."
|
||||
|
||||
@@ -14,4 +14,4 @@ export INLINE_RUNTIME_CHUNK=false
|
||||
export REACT_APP_BACKEND_WORKER_HASH=`ls "$ROOT"/../public/kcab/kcab.worker.*.js | sed 's/.*kcab\.worker\.\(.*\)\.js/\1/'`
|
||||
export REACT_APP_ACTUAL_VERSION="$VERSION"
|
||||
|
||||
node scripts/build.js
|
||||
node scripts/build.js
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
ROOT=`dirname $0`
|
||||
cd "$ROOT/.."
|
||||
|
||||
VERSION=`cat "$ROOT/../../desktop-electron/package.json" | grep version | head -n1 | awk -F "\"" '{print $4}' | tr -d '\r\n'`
|
||||
VERSION=`cat "$ROOT/../../desktop-client/package.json" | grep version | head -n1 | awk -F "\"" '{print $4}' | tr -d '\r\n'`
|
||||
|
||||
export IS_GENERIC_BROWSER=1
|
||||
export PORT=3001
|
||||
export REACT_APP_BACKEND_WORKER_HASH="dev"
|
||||
export REACT_APP_ACTUAL_VERSION="$VERSION"
|
||||
|
||||
node scripts/start.js
|
||||
node scripts/start.js
|
||||
|
||||
Reference in New Issue
Block a user