forked from Foxyz/sync_replay_project
Side-app use: copy/open links and titles everywhere, version on the Settings tab, known links preview instantly, Ctrl+V adds to Up next
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9572e8457d
commit
1ec4fc8b13
22 files changed
+1190
-236
No files matched your search
@@ -35,8 +35,15 @@ ARCH="x64"
|
||||
VERSION="${VERSION:-$(sed -n 's/^version: \([0-9.]*\).*/\1/p' "$APP/pubspec.yaml")}"
|
||||
if [[ -z "$VERSION" ]]; then echo "error: version not found in $APP/pubspec.yaml" >&2; exit 1; fi
|
||||
|
||||
# The commit the app shows next to a test build's version (About, the
|
||||
# Settings tab's tooltip); -dirty with uncommitted changes.
|
||||
COMMIT="$(git -C "$ROOT" rev-parse --short HEAD 2>/dev/null || true)"
|
||||
if [[ -n "$COMMIT" && -n "$(git -C "$ROOT" status --porcelain --untracked-files=no 2>/dev/null)" ]]; then
|
||||
COMMIT="$COMMIT-dirty"
|
||||
fi
|
||||
|
||||
if [[ "$SKIP_BUILD" != "1" ]]; then
|
||||
(cd "$APP" && flutter build linux --release --dart-define=APP_VERSION="$VERSION")
|
||||
(cd "$APP" && flutter build linux --release --dart-define=APP_VERSION="$VERSION" --dart-define=GIT_COMMIT="$COMMIT")
|
||||
fi
|
||||
|
||||
BUNDLE="$APP/build/linux/$ARCH/release/bundle"
|
||||
|
||||
Reference in new issue
Block a user