We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67d2a21 commit 6e8a6aaCopy full SHA for 6e8a6aa
src/main/autocut/download.ts
@@ -8,7 +8,7 @@ import { execSync } from "child_process"
8
9
import { autocutCheck } from "./check"
10
11
-const AUTOCUT_VERSION = "v0.0.3-build.2023.02.14"
+const AUTOCUT_VERSION = "v0.0.3-build.2023.04.20"
12
13
const DOWNLOAD_URL = {
14
github: {
@@ -135,7 +135,8 @@ function unzip(
135
cb("error", `解压失败:${err},请重试`)
136
} else {
137
if(os.platform().indexOf("darwin") === 0){
138
- execSync(`chmod 777 ${excutePath}`)
+ execSync(`chmod -R 777 ${path.resolve(excutePath, "..")}`)
139
+ execSync(`cd ${path.resolve(excutePath, "..")} && bash ./build.sh`)
140
}
141
cb("success", excutePath )
142
0 commit comments