add continuous variable switch
All checks were successful
Continuous Releases / build (push) Successful in 1m2s

This commit is contained in:
Eau
2026-06-15 22:12:51 -05:00
parent fe558b630e
commit f10764511f

6
app.sh
View File

@@ -15,4 +15,8 @@ else
ob sync-setup --vault "$VAULT_NAME" --path "$SYNC_FOLDER" --password "$VAULT_PASSWORD"; ob sync-setup --vault "$VAULT_NAME" --path "$SYNC_FOLDER" --password "$VAULT_PASSWORD";
fi fi
ob sync --path "$SYNC_FOLDER" if [ $WATCH = true ]; then
ob sync --watch --path "$SYNC_FOLDER";
else
ob sync --path "$SYNC_FOLDER";
fi