Skip to content

Add tldraw offline desktop app to the repo #130

Closed

Activity

  1. changed the title [-]Add **tldraw offline** desktop app to the repo[/-] [+]Add tldraw offline desktop app to the repo[/+] on Jul 18, 2026
  2. edgseu commented on Jul 30, 2026

    @edgseu
    ContributorAuthor

    Sorry for reopening this issue again @jing2uo.

    but while updating the tldraw-offline package,

    $ flatpak update
    
            ID                          Branch          Op         Remote           Download
     1. [✗] com.tldraw.Offline          stable          u          flatpark         101.9 MB / 105.4 MB
    
    Error: While trying to apply extra data: apply_extra script failed, exit status 256
    Updates complete.
    error: There were one or more errors
    
    $ flatpak info com.tldraw.Offline
    
    tldraw offline - Local whiteboard and diagramming canvas
    
                ID: com.tldraw.Offline
               Ref: app/com.tldraw.Offline/x86_64/stable
              Arch: x86_64
            Branch: stable
           Version: 1.11.0
           License: LicenseRef-proprietary=https://github.com/tldraw/tldraw-offline#license
            Origin: flatpark
        Collection: 
      Installation: user
    Installed Size: 10.2 MB
           Runtime: org.freedesktop.Platform/x86_64/25.08
               Sdk: org.freedesktop.Sdk/x86_64/25.08
    
     Active commit: f6113c95b6993fa1a71c6c3812b1ce3a991ceb184e8aab7c3eb90e482bd4d7ea
     Latest commit: 0fc805da5eeda6311cc76559649acac3160f75bd022738283be691d39e0749e6
           Subject: Export com.tldraw.Offline
              Date: 2026-07-19 03:08:00 +0000
    

    reference: pull request #131

  3. jing2uo commented on Jul 30, 2026

    @jing2uo
    Collaborator

    Thanks — and no apology needed, this is a real break on our side and your flatpak info output pinned it down.

    What happened: upstream renamed the Electron launcher inside the .deb. v1.11.0 (what you have installed) shipped it as /opt/tldraw offline/@tldesktop; v1.12.0 renamed it to /opt/tldraw offline/tldraw-offline. Our apply_extra.sh asserted the old name, so the unpack aborted — that is the exit status 256 you saw. The asset name never changed, and our pin refresh is automated, so it went out unnoticed. It is not specific to your machine: the currently published pin (v1.12.1) has the same layout, so every install and update of this app is failing right now.

    Fix on the way in #163: apply_extra now reads the launcher name out of the .desktop file upstream ships in the same .deb instead of hardcoding it, so the next rename is a non-event. I have verified the pinned v1.12.1 payload unpacks in the same sandbox a system-wide install uses, and that the app builds, installs and launches. Once that merges, flatpak update will pick it up — no need to uninstall or lose anything in the meantime.

    The wider lesson is ours to fix too: the automated pin-refresh PRs were the one path with no CI looking inside the artifact, which is exactly how a repackaged upstream reaches users. The same PR makes the update workflows unpack a payload before pinning it, and hold an app back on its last installable version when the unpack fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions