Skip to content

Commit

Permalink
more travis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dl9rdz committed Jun 16, 2021
1 parent 201c4f4 commit 17d679b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 3 additions & 0 deletions www/js/leaflet.contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 17d679b

Please sign in to comment.