Problem Description
If NWjs.AppFolder is called in a NWjs-App in Linux it gives the wrong path. It puts chrome-extension:// with an ChromeApp-Id in front of the path. It works fine with Windows.
Attach a Capx
Capx with two externels files:
https://drive.google.com/file/d/0B5FlDY ... sp=sharing
NWjs-win32:
https://drive.google.com/file/d/0B5FlDY ... sp=sharing
NWjs-linux64:
https://drive.google.com/file/d/0B5FlDY ... sp=sharing
Description of Capx
The Capx displays the NWjs.AppFolder path in a Textbox. Where the path will be shown correct on all Systems. Then it tries to load a picture in a sprite from an external file and a text-file with the ajax-plugin.
If ajax loaded successful it will write an O.K, otherwise Error
Steps to Reproduce Bug
- Make a Linux64 NWjs-App from the Capx.
- Copy the to files: pic2.jpg and test.txt in the linux64 folder
- Make nw executable an start it.
- Press F12 to open the Debug-Window, click on the console Tab to see the wrong path.
Observed Result
The Textbox displays the correct path, but no image is loaded and ajax reported an error.
Expected Result
Correct path.
Affected System/b]
- Windows 7: (NO)
- Linux Mint 64 Bit: (YES)
Operating System and Service Pack
Windows 7 SP 1
Linux Mint 64 Bit
Construct 2 Version ID
r233 and nwjs 0.16