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