From 71aa82d3f6a568f0800aa56442f4142e62afead5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 31 Oct 2026 19:28:05 -0400 Subject: [PATCH] fix(flatpak): save preview downloads by sharing /tmp with the host The host server gives the sandboxed browser a /tmp path for downloads, but the sandbox has its own /tmp, so files never reached the server. Share /tmp so both sides see them, and release as 0.1.6-1. --- flatpak/com.t3tools.t3code.metainfo.xml | 6 ++++++ flatpak/com.t3tools.t3code.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/flatpak/com.t3tools.t3code.metainfo.xml b/flatpak/com.t3tools.t3code.metainfo.xml index a688543..c86c5a2 100644 --- a/flatpak/com.t3tools.t3code.metainfo.xml +++ b/flatpak/com.t3tools.t3code.metainfo.xml @@ -19,6 +19,12 @@ com.t3tools.t3code.desktop https://t3.codes + + https://github.com/pingdotgg/t3code/releases/tag/v0.1.6 + +

Preview tab downloads now finish and save to your Downloads folder.

+
+
https://github.com/pingdotgg/t3code/releases/tag/v0.1.6 diff --git a/flatpak/com.t3tools.t3code.yml b/flatpak/com.t3tools.t3code.yml index 86c59b4..369a83e 100644 --- a/flatpak/com.t3tools.t3code.yml +++ b/flatpak/com.t3tools.t3code.yml @@ -26,6 +26,8 @@ finish-args: - --talk-name=org.kde.kwalletd6 # Preview tab downloads otherwise land in the sandbox's temporary home. - --filesystem=xdg-download + # The host server hands the sandboxed browser a /tmp path for preview downloads. + - --filesystem=/tmp - --filesystem=~/.ssh/config:ro - --filesystem=~/.ssh/config.d:ro - --filesystem=~/.ssh/known_hosts:ro