-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modifications to android build doc and scripts
- Loading branch information
Showing
6 changed files
with
83 additions
and
51 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,22 @@ | ||
--private .. | ||
--dist_name "cat-printer" | ||
--package "io.github.naitlee.catprinter" | ||
--name "Cat Printer" | ||
--icon icon.png | ||
--bootstrap webview | ||
--window | ||
--blacklist-requirements sqlite3,openssl | ||
--port 8095 | ||
--arch arm64-v8a | ||
--blacklist "blacklist.txt" | ||
--presplash blank.png | ||
--presplash-color black | ||
--add-source "advancedwebview" | ||
--manifest-orientation user | ||
--android_api 30 | ||
--permission BLUETOOTH | ||
--permission BLUETOOTH_SCAN | ||
--permission BLUETOOTH_CONNECT | ||
--permission BLUETOOTH_ADMIN | ||
--permission ACCESS_FINE_LOCATION | ||
--permission ACCESS_COARSE_LOCATION |
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,9 +1,4 @@ | ||
#!/bin/sh | ||
version=`cat ../version` | ||
|
||
p4a apk --private .. --dist_name="cat-printer" --package="io.github.naitlee.catprinter" --name="Cat Printer" \ | ||
--icon=icon.png --version=$version --bootstrap=webview --window --requirements="`cat build-deps.txt`" \ | ||
--blacklist-requirements=sqlite3,openssl --port=8095 --arch=arm64-v8a --blacklist="blacklist.txt" \ | ||
--presplash=blank.png --presplash-color=black --add-source="advancedwebview" --manifest-orientation=user \ | ||
--permission=BLUETOOTH --permission=BLUETOOTH_SCAN --permission=BLUETOOTH_CONNECT \ | ||
--permission=BLUETOOTH_ADMIN --permission=ACCESS_FINE_LOCATION --permission=ACCESS_COARSE_LOCATION $@ | ||
p4a apk --requirements "`cat build-deps.txt`" --version "$version" $@ |
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
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