diff --git a/.travis.yml b/.travis.yml index bf494ce..ab65972 100644 --- a/.travis.yml +++ b/.travis.yml @@ -98,7 +98,7 @@ before_script: script: - if [ "$TRAVIS_OS_NAME" == "windows" ]; then echo "Windows"; - cordova build electron --release; + cordova build electron --debug; find platforms; mv platforms/electron/build/*.exe rdzSonde-setup-${TRAVIS_TAG}.exe; ls *.exe; diff --git a/version.json b/version.json index 082de6a..68faaa3 100644 --- a/version.json +++ b/version.json @@ -2,4 +2,4 @@ "version": "1.0.6", "url": "https://github.com/dl9rdz/rdzwx-go/releases/tag/v1.0.6", "apkurl": "https://github.com/dl9rdz/rdzwx-go/releases/download/v1.0.6/rdzSonde-v1.0.6.apk" -} +} \ No newline at end of file diff --git a/www/js/leaflet.contextmenu.js b/www/js/leaflet.contextmenu.js index 489da87..ee7321a 100644 --- a/www/js/leaflet.contextmenu.js +++ b/www/js/leaflet.contextmenu.js @@ -11,10 +11,13 @@ if (typeof define === 'function' && define.amd) { // AMD define(['leaflet'], factory); +/* +// not working well with Cordova/electron } else if (typeof module === 'object' && typeof module.exports === 'object') { // Node/CommonJS L = require('leaflet'); module.exports = factory(L); +*/ } else { // Browser globals if (typeof window.L === 'undefined') {