We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7efce6 commit 2ef8dffCopy full SHA for 2ef8dff
src/main/autocut/download.ts
@@ -135,8 +135,8 @@ function unzip(
135
cb("error", `解压失败:${err},请重试`)
136
} else {
137
if(os.platform().indexOf("darwin") === 0){
138
- execSync(`chmod -R 777 ${path.resolve(excutePath, "..")}`)
139
- execSync(`cd ${path.resolve(excutePath, "..")} && bash ./build.sh`)
+ execSync(`chmod -R 777 "${path.resolve(excutePath, "..")}"`)
+ execSync(`cd "${path.resolve(excutePath, "..")}" && bash ./build.sh`)
140
}
141
cb("success", excutePath )
142
0 commit comments