u
This commit is contained in:
1 parent
7b5ab1ab04
commit
c265ea736b
6 files changed
+227
-196
No files matched your search
@@ -20,7 +20,7 @@ function setAndroidSignature(appBuildGradle) {
|
||||
console.warn("警告:没有设置正式版本的 Android Keystore 文件,因为 credentials.json 不存在。");
|
||||
return appBuildGradle;
|
||||
}
|
||||
const info = JSON.parse(fs.readFileSync(path.resolve(__dirname, "../credentials.json"), { encoding: "utf8" }));
|
||||
const info = JSON.parse(fs.readFileSync(path.resolve(__dirname, "../credentials/credentials.json"), { encoding: "utf8" }));
|
||||
|
||||
// 使用正则表达式插入签名信息
|
||||
let output = appBuildGradle.replace(
|
||||
|
||||
Reference in new issue
Block a user