u
This commit is contained in:
1 parent
7b5ab1ab04
commit
c265ea736b
6 files changed
+227
-196
No files matched your search
@@ -499,7 +499,7 @@ keytool -genkey -v -keystore android-release.keystore -alias my-key-alias -keyal
|
||||
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(
|
||||
@@ -525,7 +525,7 @@ keytool -genkey -v -keystore android-release.keystore -alias my-key-alias -keyal
|
||||
}
|
||||
```
|
||||
|
||||
2. 在 expo 项目根目录下新增 `credentials.json` 文件(该文件主要是 Keystore 的信息):
|
||||
2. 在 expo 项目根目录下新增 `/credentials/credentials.json` 文件(该文件主要是 Keystore 的信息):
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -663,3 +663,29 @@ app-universal-release.apk
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HY20241003
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user