Authenticates via the FxA OAuth flow (borrowing Firefox for Android's public client id) in an embedded, off-the-record Qt6 WebEngine view, decrypts the Sync 1.5 crypto/keys envelope, and dumps bookmarks as JSON. Packaged as a flatpak (org.mozsync.App.yml) against io.qt.qtwebengine.BaseApp. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
794 B
YAML
34 lines
794 B
YAML
app-id: org.mozsync.App
|
|
runtime: org.kde.Platform
|
|
runtime-version: "6.11"
|
|
sdk: org.kde.Sdk
|
|
base: io.qt.qtwebengine.BaseApp
|
|
base-version: "6.11"
|
|
command: mozsync
|
|
|
|
sdk-extensions:
|
|
- org.freedesktop.Sdk.Extension.golang
|
|
|
|
finish-args:
|
|
- --share=network
|
|
- --socket=wayland
|
|
- --socket=fallback-x11
|
|
- --device=dri
|
|
|
|
build-options:
|
|
append-path: /usr/lib/sdk/golang/bin
|
|
env:
|
|
GOFLAGS: -mod=vendor
|
|
GOCACHE: /run/build/mozsync/.gocache
|
|
CGO_ENABLED: "1"
|
|
PKG_CONFIG_PATH: /app/lib/x86_64-linux-gnu/pkgconfig:/app/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig
|
|
|
|
modules:
|
|
- name: mozsync
|
|
buildsystem: simple
|
|
build-commands:
|
|
- go build -o mozsync .
|
|
- install -Dm755 mozsync /app/bin/mozsync
|
|
sources:
|
|
- type: dir
|
|
path: .
|