Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7372

Prepare for FirefoxOS on Windows generates incorrect path

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows 8 64-bit

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              menardi GearĂ³id M
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: