You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gearóid Moroney (JIRA)" <ji...@apache.org> on 2014/08/22 23:50:12 UTC
[jira] [Created] (CB-7372) Prepare for FirefoxOS on Windows
generates incorrect path
Gearóid Moroney created CB-7372:
-----------------------------------
Summary: Prepare for FirefoxOS on Windows generates incorrect path
Key: CB-7372
URL: https://issues.apache.org/jira/browse/CB-7372
Project: Apache Cordova
Issue Type: Bug
Components: FirefoxOS
Affects Versions: 3.5.0
Environment: Windows 8 64-bit
Reporter: Gearóid Moroney
Priority: Critical
On Windows, the manifest.webapp file for Firefox OS has an invalid path. The file must be edited manually to get the app to work.
To reproduce:
- Install Cordova 3.5.0
- Create a new project: cordova create test
- In the test folder, add FxOS: cordova platform add firefoxos
- Package the app. For FxOS all that needs to be done is prepare: cordova prepare firefoxos
- In Firefox (at least version 26), go to about:app-manager
- Click Apps on the left, and then "Add Packaged App" on the bottom. Select test/platforms/firefoxos/www
- On the right-hand side, notice the error: "Launch path has to be an absolute path starting with '/': '\index.html'"
I have a fix ready for this and will submit a pull request on GitHub.
--
This message was sent by Atlassian JIRA
(v6.2#6252)