Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Giulio
purr-data
Commits
aac53f1c
Commit
aac53f1c
authored
Jan 24, 2017
by
Albert Gräf
Browse files
Cosmetic changes (indentation; superflous trailing semicolon).
parent
63f5cf89
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/darwin_app/Makefile
View file @
aac53f1c
...
...
@@ -112,14 +112,13 @@ darwin_app_wrapper: Info.plist
# 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"
;
\
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"
;
\
rm
"
$$
file"
.bak
;
\
plutil
-convert
binary1
"
$$
file"
;
\
done
;
for
file
in
$(BUILD_BASE)/*.app/Contents/Resources/*.lproj/InfoPlist.strings;
do
\
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/"CFBundleDisplayName":"nwjs"/"CFBundleDisplayName":"PurrData"/g'
"
$$
file"
;
\
rm
"
$$
file"
.bak
;
\
plutil
-convert
binary1
"
$$
file"
;
\
done
#------------------------------------------------------------------------------#
# generate Info.plist using PD_APP_NAME and PD_VERSION
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment