From 5f8d30498ff98ff59776f6193ad90b1347ddf6b1 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 5 Jun 2021 22:26:08 +0200 Subject: [PATCH] fix(core): remove previous bundle when compiling to avoid code signing errors --- Makefile.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index 7465617..32e55db 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -10,6 +10,8 @@ args = ["build"] script = ''' TARGET_DIR=target/mac/Espanso.app +rm -Rf $TARGET_DIR + VERSION=$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }') mkdir -p $TARGET_DIR/Contents