fix(core): remove previous bundle when compiling to avoid code signing errors
This commit is contained in:
parent
4ddd061a0f
commit
5f8d30498f
|
@ -10,6 +10,8 @@ args = ["build"]
|
||||||
script = '''
|
script = '''
|
||||||
TARGET_DIR=target/mac/Espanso.app
|
TARGET_DIR=target/mac/Espanso.app
|
||||||
|
|
||||||
|
rm -Rf $TARGET_DIR
|
||||||
|
|
||||||
VERSION=$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }')
|
VERSION=$(cat espanso/Cargo.toml | grep version | head -1 | awk -F '"' '{ print $2 }')
|
||||||
|
|
||||||
mkdir -p $TARGET_DIR/Contents
|
mkdir -p $TARGET_DIR/Contents
|
||||||
|
|
Loading…
Reference in New Issue
Block a user