Skip to content
Snippets Groups Projects
Commit ad0d9c62 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #212: app menu shows "nwjs" instead of "Purr Data"

parent 27482c31
No related branches found
No related tags found
No related merge requests found
...@@ -149,6 +149,10 @@ darwin_app_wrapper: Info.plist ...@@ -149,6 +149,10 @@ darwin_app_wrapper: Info.plist
install -m0644 -p *.icns "$(PD_APP_CONTENTS)/Resources" install -m0644 -p *.icns "$(PD_APP_CONTENTS)/Resources"
#mv "$(PD_APP_CONTENTS)/MacOS/${WISH_NAME}" \ #mv "$(PD_APP_CONTENTS)/MacOS/${WISH_NAME}" \
# "$(PD_APP_CONTENTS)/MacOS/${PD_APP_NAME}" # "$(PD_APP_CONTENTS)/MacOS/${PD_APP_NAME}"
# Now change the localized app name in Resources/*.lproj from nwjs
# to "Purr Data". For some reason "CFBundleDisplayName" doesn't accept
# spaces so we give it "PurrData"
for file in $(BUILD_BASE)/*.app/Contents/Resources/*.lproj/InfoPlist.strings; do plutil -convert json "$$file"; cat "$$file" | LC_ALL=C sed 's/"CFBundleName":"nwjs"/"CFBundleName":"Purr Data"/g' > "$$file"; cat "$$file" | LC_ALL=C sed 's/"CFBundleDisplayName":"nwjs"/"CFBundleDisplayName":"PurrData"/g' > "$$file"; plutil -convert binary1 "$$file"; 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