-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
70 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export ANDROID_SDK_ROOT=/Users/hansr/Library/Android/sdk | ||
|
||
all: run | ||
|
||
el: plugin | ||
cordova build electron | ||
|
||
run: | ||
clear | ||
cp ../rdzwx-plugin/src/android/*.kt ./platforms/android/app/src/main/kotlin/de/dl9rdz/ | ||
cordova run android --device | ||
|
||
full: | ||
clear | ||
cordova plugin rm de-dl9rdz-rdzwx | ||
cordova plugin add ../rdzwx-plugin/ | ||
cordova run android --device | ||
|
||
plugin: | ||
cordova plugin rm de-dl9rdz-rdzwx | ||
cordova plugin add ../rdzwx-plugin/ | ||
|
||
release: apkrelease sign | ||
|
||
mkrelease: | ||
cordova build --release | ||
|
||
.ONESHELL: | ||
sign: | ||
cd platforms/android/app/build/outputs/apk/release/ && \ | ||
/Users/hansr/Library/Android//sdk/build-tools/30.0.3/zipalign -v -p 4 app-release-unsigned.apk app-release-unsigned-aligned.apk && \ | ||
/Users/hansr/Library/Android//sdk/build-tools/30.0.3/apksigner sign --ks ~/src/rdzwx-go/my-release-key.jks --out app-release.apk app-release-unsigned-aligned.apk | ||
|
||
apkrelease: | ||
cordova build --release -- --packageType=apk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "de.dl9rdz", | ||
"displayName": "rdzwx-go", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A sample Apache Cordova application that uses rdzwx-plugin.", | ||
"main": "index.js", | ||
"scripts": { | ||
|
@@ -12,30 +12,41 @@ | |
], | ||
"author": "Hansi Reiser <[email protected]>", | ||
"license": "Apache-2.0", | ||
"overrides": { | ||
"electron-builder": "23.0.3" | ||
}, | ||
"dependencies": { | ||
"jetifier": "^2.0.0", | ||
"net": "^1.0.2", | ||
"update": "^0.7.4", | ||
"xmlhttprequest": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"cordova-android": "^10.1.2", | ||
"cordova-browser": "^6.0.0", | ||
"cordova-electron": "^3.0.0", | ||
"cordova-plugin-androidx-adapter": "^1.1.3", | ||
"cordova-plugin-inappbrowser": "^5.0.0", | ||
"de-dl9rdz-rdzwx": "https://github.com/dl9rdz/rdzwx-plugin.git", | ||
"rdzwx-plugin": "github:dl9rdz/rdzwx-plugin" | ||
"rdzwx-plugin": "file:../rdzwx-plugin" | ||
}, | ||
"cordova": { | ||
"plugins": { | ||
"de-dl9rdz-rdzwx": {}, | ||
"cordova-plugin-androidx-adapter": {}, | ||
"cordova-plugin-inappbrowser": {} | ||
"cordova-plugin-inappbrowser": {}, | ||
"de-dl9rdz-rdzwx": {} | ||
}, | ||
"platforms": [ | ||
"android", | ||
"browser", | ||
"electron" | ||
] | ||
}, | ||
"dependencies": { | ||
"jetifier": "^2.0.0", | ||
"net": "^1.0.2", | ||
"xmlhttprequest": "^1.8.0" | ||
"browser": { | ||
"net": false, | ||
"fs": false | ||
}, | ||
"electron": { | ||
"net": false, | ||
"fs": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"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" | ||
} | ||
"version": "1.0.7", | ||
"url": "https://github.com/dl9rdz/rdzwx-go/releases/tag/v1.0.7", | ||
"apkurl": "https://github.com/dl9rdz/rdzwx-go/releases/download/v1.0.7/rdzSonde-v1.0.7.apk" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters