From bdfd182802154779cd9105c074f4bc2b65ee8efe Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 27 Feb 2023 15:29:32 -0800 Subject: [PATCH] flatpak: remove zig from final build --- com.mitchellh.ghostty.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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