Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Build app for Windows #101

Open
deadlyfingers opened this issue Jan 5, 2016 · 3 comments
Open

Build app for Windows #101

deadlyfingers opened this issue Jan 5, 2016 · 3 comments

Comments

@deadlyfingers
Copy link
Contributor

deadlyfingers commented Jan 5, 2016

Add support to build for Windows Universal app

Requires JXcore 0.3. 1.0 / 1.1 release.
http://jxcore.com/jxcore-0-3-1-0-release/
http://jxcore.com/universal-windows-platform-uwp-samples-using-jxcore/

@deadlyfingers
Copy link
Contributor Author

Cordova for Windows 10 documentation:
https://cordova.apache.org/docs/en/dev/guide/platforms/win8/win10-support.html
https://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html

But with regards to app assets the latest Cordova documentation only appears to cover Windows 8 & WP8:
https://cordova.apache.org/docs/en/latest/config_ref/images.html

Windows 10 platform may need to added as follows:
cordova platform remove windows
cordova platform add "windows@https://aka.ms/cordova-win10"

Build for UWP:
cordova build windows -- --appx=uap

@deadlyfingers
Copy link
Contributor Author

Notes while setting up on W10 :

  • JXcore setup is being removed by Windows Defender
  • I setup node-gyp to use VS 2015 instead of 2013 as listed on the readme.
".jx\npm\node_modules\node-gyp\gyp\pylib\MSVSVersion.py", line 402, in SelectVisualStudioVersion
versions = _DetectVisualStudioVersions(version_map[version], 'e' in version)
KeyError: '2015'

jx npm node-gyp -v => 1.4.14, while npm version is 3.5.2. This will be updated in jx 0.3.1.1. So VS2013 tools are still required for current jx 0.3.1.0 version.

  • Also got '(node) warning':
possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase the limit.

@deadlyfingers
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants