nw.js package.json export error

Bugs will be moved here once resolved.

Post » Fri Oct 30, 2015 1:12 am

Problem Description
nw.js Windows export: the package.json includes an incorrect reference to one of the icon files.

Attach a Capx
Not required. Just export a project with one sprite.

Description of Capx
--

Steps to Reproduce Bug
  • Open package.json inside package.nw
  • observe the file path reference for the window icon

Observed Result
Code: Select all
"window": {
      "icon": "logo.png",


logo.png does not exist


Expected Result
Code: Select all
"window": {
      "icon": "icon-128.png",


...or similar

Affected Browsers
  • nw.js

Operating System and Service Pack
W10

Construct 2 Version ID
r216 64 bit
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,215
Reputation: 43,852

Post » Fri Oct 30, 2015 8:47 am

If you edit the Construct 2\exporters\html5\nwjs\package-win.json it will make the exported file correct without editing it separately each time.
Still needs fixing though :)
B
48
S
16
G
9
Posts: 1,097
Reputation: 11,195

Post » Fri Oct 30, 2015 9:36 am

Thanks @spongehammer, my cursory search last night didn't find it! :)
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,215
Reputation: 43,852

Post » Thu Nov 12, 2015 12:20 pm

Thanks, fixed for the next build. I think it originally pointed at loading-logo.png (which was renamed from logo.png), but it probably makes more sense to point it at icon-128.png, so that's what I've done.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,852


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests