fix(core): remove previous bundle when compiling to avoid code signing errors

This commit is contained in:
Federico Terzi 2021-06-05 22:26:08 +02:00
parent 4ddd061a0f
commit 5f8d30498f

View File

@ -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