Comments (10)
ah so upon further inspection it appears the copyright is in nwjs.app/Contents/Resources/en.lproj/InfoPlist.strings
NSHumanReadableCopyright = "Copyright 2023 The Chromium Authors, NW.js, Node.js. All rights reserved.";
its a plain key value file so you can just use sed to replace it
from nw-builder.
I'm pretty sure CFBundleGetInfoString is no longer supported/used in OSX 10 and above. Let me see what I can do about this.
from nw-builder.
5864c5b
Updating NSHumanReadableCopyright
in Contents/Resources/en.lproj/InfoPlist.strings
did not update the copyright.
8ccfddf
On the other hand, adding NSHumanReadableCopyright
inside Info.plist
as mentioned in Apple docs also does not work.
@rocketVibes let me know if you're able to find a solution for this. In the mean time, I'll keep trying.
from nw-builder.
@zkrige have you come across this issue before? how do you set the copyright in your apps?
from nw-builder.
@rocketVibes I looked into what other nw builders were doing. Found this interesting:
https://github.com/nwutils/nwjs-packager/blob/55f9d224ddea0301405508254303593d9ae266fd/bin/builder/BuilderOsx.js#L53
I a bit busy atm. If you're able to incorporate some changes from nwjs-packager
and open a PR that would be great!
from nw-builder.
I run a manual plist tool just after build which sets plist values
from nw-builder.
Could you maybe paste some of the code here?
from nw-builder.
I'm traveling so I can't find the exact code but I had a quick look at build scripts on mobile
Here is a plistbuddy command that sets the display name in the renderer helper. You can do similar for any fields in plist
#/usr/libexec/PlistBuddy -c Set :CFBundleDisplayName
from nw-builder.
Ah cool, thanks!
from nw-builder.
@zkrige Whenever you get the time, could you post the code to update the NSHumanCopyright property?
from nw-builder.
Related Issues (20)
- unzipper failed. Emitted 'error' event on DuplexWrapper instance at #289 HOT 8
- nw-builder 4.5.3 requires WINE on Windows 11 HOT 3
- Add documentation on how to use package HOT 1
- Migrate back to `yauzl-promise` for unzipping MacOS binaries HOT 1
- Use Google's Release Please bot to automate releases HOT 1
- Windows Store compatible
- Build fails with "package.json not found in srcDir file glob patterns" error HOT 9
- Executable file if run on another machine fails HOT 15
- Improvements to bring in line with nwjs-builder-phoenix HOT 6
- Problem building 0.78.1 + osx + arm64 HOT 5
- libffmpeg not being installed into correct folder HOT 5
- on some macOS, symbolic links are copied as files and link is lost
- Symlinks are copied as files on decompress HOT 9
- `argv` is not properly handled
- linux platform builds with ffmpeg enabled fail with zlib error '[ ERROR ] incorrect header check' HOT 2
- Enabling and disabling `options.ffmpeg` still uses community FFmpeg on successive build HOT 4
- Rename MacOS Helpers HOT 3
- Node Native Addon (gyp, nan, cmake, ffi)
- Canary builds HOT 1
- nw-builder download stuck HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nw-builder.