aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AppImageBuilder.yml32
-rwxr-xr-xkeytree-0.1.0-x86_64.AppImagebin58492096 -> 18040000 bytes
-rw-r--r--keytree-0.1.0-x86_64.AppImage.zsyncbin200156 -> 61892 bytes
-rwxr-xr-xkeytree.py2
4 files changed, 14 insertions, 20 deletions
diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml
index f80d392..63e7d28 100644
--- a/AppImageBuilder.yml
+++ b/AppImageBuilder.yml
@@ -5,7 +5,7 @@ script:
- cp bech32.py AppDir/usr/src
- cp keytree.py AppDir/usr/src
- cp setup.py AppDir/usr/src
- - python3 -m pip install -t AppDir/usr/src/frozen_deps AppDir/usr/src
+ - python3.9 -m pip install -t AppDir/usr/src/frozen_deps AppDir/usr/src
- rm -rf AppDir/usr/src/frozen_deps/Cryptodome/SelfTest
@@ -17,25 +17,19 @@ AppDir:
name: keytree
icon: utilities-terminal
version: 0.1.0
- exec: usr/src/keytree.py
- exec_args: $@
+ exec: usr/bin/python3.9
+ exec_args: $APPDIR/usr/src/keytree.py $@
- pacman:
- Architecture: x86_64
+ apt:
+ arch: amd64
+ sources:
+ - sourceline: 'deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse'
+ key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
+ - sourceline: 'deb [arch=amd64] http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main'
+ key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xBA6932366A755776'
include:
- - python
- exclude:
- - perl
- - krb5
- - gdbm
- - gcc-libs
- - openssl
- - libtirpc
- - libnsl
- - libffi
- - expat
- - zlib
- - bzip2
+ - python3.9
+ exclude: []
runtime:
env:
@@ -45,7 +39,7 @@ AppDir:
PYTHONHOME: '${APPDIR}/usr'
# Path to the site-packages dir or other modules dirs
# See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
- PYTHONPATH: '${APPDIR}/usr/lib/python3.9/site-packages'
+ PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'
AppImage:
update-information: 'gh-releases-zsync|AppImageCrafters|keytree|latest|python-appimage-*x86_64.AppImage.zsync'
diff --git a/keytree-0.1.0-x86_64.AppImage b/keytree-0.1.0-x86_64.AppImage
index 9e7aca3..96b3877 100755
--- a/keytree-0.1.0-x86_64.AppImage
+++ b/keytree-0.1.0-x86_64.AppImage
Binary files differ
diff --git a/keytree-0.1.0-x86_64.AppImage.zsync b/keytree-0.1.0-x86_64.AppImage.zsync
index f2ee36e..eaddc61 100644
--- a/keytree-0.1.0-x86_64.AppImage.zsync
+++ b/keytree-0.1.0-x86_64.AppImage.zsync
Binary files differ
diff --git a/keytree.py b/keytree.py
index 96c4baf..3e9a319 100755
--- a/keytree.py
+++ b/keytree.py
@@ -284,7 +284,7 @@ if __name__ == '__main__':
parser.add_argument('--end-idx', type=int, default=1, help='the end index for keys (exclusive)')
parser.add_argument('--hrp', type=str, default="avax", help='HRP (Human Readable Prefix, defined by Bech32)')
- args = parser.parse_args()
+ args, _ = parser.parse_known_args()
try: