Hi,
I've just come across the document 'Creating a Desktop Application' https://ggnome.com/doc/pano2vr/6/tip-desktop-app/ and have a couple of questions.
1. The instructions are divided into Windows and Mac. Can a desktop application created on the Mac run on Windows or do you need to be on a Windows platform to create a Windows desktop application. I'm presuming you have to be on a Windows platform.
2. In the Mac OS instructions #9 it states, "Deleted everything from the folder (Resources) except nw.icns. This is the icon for the app" In the folder there is no nw.icns, there is only app.icns and documents.icns.
3. In the Mac OS instructions Custom name and icon/To have a custom name in the menu bar do the following #4 it states, "Change the Bundle name". In the info.plist I can find several instances of <key>CFBundleTypeName</key> but I'm not sure where the bundle name is entered?
cheers,
Tony
Creating a Desktop Application
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- soulbrother
- Posts: 545
- Joined: Tue Apr 08, 2008 7:01 pm
- Location: München
- Contact:
Goood questions Tony thanks for those, I am curious to all answers.
And vice versa: Can I create it on Windows and my clients use it with a MAC?
- Hopki
- Gnome
- Posts: 13022
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Guys,
This is quite an old document. Looking at this, things have changed since we last looked at the NWJS project.
1) I just made a Windows .exe on the Mac, copied to a Windows machine and worked OK.
I have not tried going from Windows to Mac but I assume this would also work.
You just can not test it.
2) At some point, the app icon was called nw.icns, I guess they changed it in one of the updates. Have asked for the documents to be updated. Good catch.
3) With regards to this, do a search for
Again we will update the docs to make this more clear.
For both Mac and Windows, the address bar shows the name entered in the package.json file.
Example:
So have not looked at this in a very long time.
Regards,
Hopki
This is quite an old document. Looking at this, things have changed since we last looked at the NWJS project.
1) I just made a Windows .exe on the Mac, copied to a Windows machine and worked OK.
I have not tried going from Windows to Mac but I assume this would also work.
You just can not test it.
2) At some point, the app icon was called nw.icns, I guess they changed it in one of the updates. Have asked for the documents to be updated. Good catch.
3) With regards to this, do a search for
Then under it edit the string, example:<key>CFBundleName</key>
When opened you will see the name in the toolbar.<string>Phone Box</string>
Again we will update the docs to make this more clear.
For both Mac and Windows, the address bar shows the name entered in the package.json file.
Example:
This said it is a third party application and was before our own desktop app."name": "Phone Box",
So have not looked at this in a very long time.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/