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

Windows platform ignores some build options

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: cordova-windows
    • Labels:

      Description

      When we run packaging, we put values in the build.json file like this:

      build.json
      {
        "windows": {
          "release": {
            "packageCertificateKeyFile": "res\\native\\windows\\CordovaApp.pfx",
            "publisherId": "CN=995C8641-FD13-454D-B93F-C1E4381956B9"
          }
        }
      }
      

      After the packaging, the appxmanifest file has this in it: <Identity ... Publisher="CN=$username$" Version="1.1.0.0" />
      The $username$ should have been replaced by CN=995C8641-FD13-454D-B93F-C1E4381956B9.

      Another problem, related to arguments parsing is that build.js ignores options.archs and take it if I set options.argv='--archs=x64'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vladimir.kotikov Vladimir Kotikov
                Reporter:
                vladimir.kotikov Vladimir Kotikov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: