How do I fix NW.JS Filepath issues?

Get help using Construct 2

Post » Mon Jan 18, 2016 7:18 pm

Hello everyone!

I haven't used NWJS as I have just straight HTML exports so I have recently run across an issue.

I have a small file that I compile into NWJS. After opening it (not preview mode), I set it up to allow me to drag and drop a XML file from my local hard drive which then uses that DroppedFile path in an AJAX call to then load into XML.

On my PC, it works flawlessly. The file path works and loads into the XML plugin.

On my Mac, I just get
GET chrome-extension://ejddneclfgbfbpkjnanlnfdephgigobo/Users/nick/Documents/os…ntents/Versions/47.0.2526.73/nwjs%20Helper.app/Contents/MacOS/original.xml net::ERR_FILE_NOT_FOUND
when trying to use the DroppedFile path in the AJAX call. Is there something I need to do differently with Mac for this file path to work? For reference, I also have a FileChooser option and selecting that same file from there it loads the AJAX call fine. Only difference is that the call has the blob: in front of it.

Anyone have quick snap ideas or reasons for the Mac version to act like that?

Thanks!
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
57
S
18
G
5
Posts: 211
Reputation: 7,183

Return to How do I....?

Who is online

Users browsing this forum: bazmat1963, bikachu, LaurenceBedford, lucstanislash and 13 guests