mirror of
https://github.com/meowstercatel/r1-apk-patcher.git
synced 2024-12-23 07:35:18 -06:00
const => let
This commit is contained in:
parent
4285b0bd1c
commit
ee021b0f13
1 changed files with 1 additions and 1 deletions
2
utils.js
2
utils.js
|
@ -97,7 +97,7 @@ function replaceStringInManifest(name, value) {
|
||||||
const data = fs.readFileSync(manifest, "utf-8")
|
const data = fs.readFileSync(manifest, "utf-8")
|
||||||
let arr = data.split(" ");
|
let arr = data.split(" ");
|
||||||
for (let i = 0; i < arr.length; i++) {
|
for (let i = 0; i < arr.length; i++) {
|
||||||
const line = arr[i];
|
let line = arr[i];
|
||||||
if(line.includes(name)) {
|
if(line.includes(name)) {
|
||||||
line = `${name}=${value}`
|
line = `${name}=${value}`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue