Skip to content

Commit

Permalink
Merge branch 'release/3.2.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
junedomingo committed Jan 19, 2023
2 parents 0d6d5c4 + 59b8876 commit a1ab375
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-rename",
"version": "3.2.9",
"version": "3.2.10",
"description": "Rename react-native app with just one command",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const getIosUpdateFilesContentOptions = ({
new RegExp(`INFOPLIST_FILE = ${cleanNewPathContentStr}/Info.plist;`, 'g'),
new RegExp(`PRODUCT_NAME = "${currentName}";`, 'gi'),
new RegExp(`PRODUCT_NAME = ${cleanNewPathContentStr};`, 'gi'),
new RegExp(`${currentPathContentStr}Release.entitlements`, 'gi'),
],
to: [
`INFOPLIST_KEY_CFBundleDisplayName = "${newName}"`,
Expand All @@ -128,6 +129,7 @@ export const getIosUpdateFilesContentOptions = ({
`INFOPLIST_FILE = "${cleanNewPathContentStr}/Info.plist";`,
`PRODUCT_NAME = "${cleanNewPathContentStr}";`,
`PRODUCT_NAME = "${cleanNewPathContentStr}";`,
`${cleanNewPathContentStr}Release.entitlements`,
],
},
{
Expand Down

0 comments on commit a1ab375

Please sign in to comment.