diff --git a/com.mitchellh.ghostty.yml b/com.mitchellh.ghostty.yml index ce360e6fa..7a330d780 100644 --- a/com.mitchellh.ghostty.yml +++ b/com.mitchellh.ghostty.yml @@ -8,8 +8,10 @@ build-options: append-path: /app/tmp/zig strip: false no-debuginfo: true -cleanup: - - /app/tmp/zig +# Note: we have to use cleanup-commands because flatpak-builder doesn't +# run "cleanup" on its own: https://github.com/flatpak/flatpak-builder/issues/14 +cleanup-commands: + - "rm -rf /app/tmp" finish-args: # 3D rendering - --device=dri