Skip to content
Snippets Groups Projects
Commit aac53f1c authored by Albert Gräf's avatar Albert Gräf
Browse files

Cosmetic changes (indentation; superflous trailing semicolon).

parent 63f5cf89
No related branches found
No related tags found
No related merge requests found
...@@ -112,14 +112,13 @@ darwin_app_wrapper: Info.plist ...@@ -112,14 +112,13 @@ darwin_app_wrapper: Info.plist
# Now change the localized app name in Resources/*.lproj from nwjs # Now change the localized app name in Resources/*.lproj from nwjs
# to "Purr Data". For some reason "CFBundleDisplayName" doesn't accept # to "Purr Data". For some reason "CFBundleDisplayName" doesn't accept
# spaces so we give it "PurrData" # spaces so we give it "PurrData"
for file in $(BUILD_BASE)/*.app/Contents/Resources/*.lproj/InfoPlist.strings; \ for file in $(BUILD_BASE)/*.app/Contents/Resources/*.lproj/InfoPlist.strings; do \
do \ plutil -convert json "$$file"; \
plutil -convert json "$$file"; \ LC_ALL=C sed -i.bak 's/"CFBundleName":"nwjs"/"CFBundleName":"Purr Data"/g' "$$file"; \
LC_ALL=C sed -i.bak 's/"CFBundleName":"nwjs"/"CFBundleName":"Purr Data"/g' "$$file"; \ LC_ALL=C sed -i.bak 's/"CFBundleDisplayName":"nwjs"/"CFBundleDisplayName":"PurrData"/g' "$$file"; \
LC_ALL=C sed -i.bak 's/"CFBundleDisplayName":"nwjs"/"CFBundleDisplayName":"PurrData"/g' "$$file"; \ rm "$$file".bak; \
rm "$$file".bak; \ plutil -convert binary1 "$$file"; \
plutil -convert binary1 "$$file"; \ done
done;
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
# generate Info.plist using PD_APP_NAME and PD_VERSION # generate Info.plist using PD_APP_NAME and PD_VERSION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment