Skip to content

Commit 0232af2

Browse files
Fixed build bug
1 parent e03f4ab commit 0232af2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ build() {
135135
fi
136136
echo "[------------Cleaning------------]"
137137
execute "rm -r publish/$2-$3"
138-
execute "rm -r publish/AppDir"
138+
if [ "$2" = "linux" ]; then
139+
execute "rm -r publish/AppDir"
140+
fi
139141
echo $1 $2-$3 done!
140142
clear
141143
}

0 commit comments

Comments
 (0)