aboutsummaryrefslogblamecommitdiff
path: root/AppImageBuilder.yml
blob: 02d034e238f62e01d91ae16eee50a437a9bce2b7 (plain) (tree)
1
2
3
4
5
6
7
8
9



                           
                                  
                                
                                

                                 
                                                                          
                                               









                                                         
                  
                            
                                            
 






                                                                                                                  
            
                  
               








                                                                          
                                                              




                                                                                                                
version: 1
script:
  - rm -rf AppDir  | true
  - mkdir -p AppDir/usr/src
  - cp mnemonic.py  AppDir/usr/src
  - cp bech32.py  AppDir/usr/src
  - cp shamir.py  AppDir/usr/src
  - cp keytree.py  AppDir/usr/src
  - cp setup.py  AppDir/usr/src
  - python3.10 -m pip install -t AppDir/usr/src/frozen_deps AppDir/usr/src
  - cp -r wordlist/  AppDir/usr/src/frozen_deps
  - rm -rf AppDir/usr/src/frozen_deps/Cryptodome/SelfTest


AppDir:
  path: ./AppDir

  app_info:
    id: org.ted.keytree
    name: keytree
    icon: utilities-terminal
    version: 0.1.9
    exec: usr/bin/python3.10
    exec_args: $APPDIR/usr/src/keytree.py $@

  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:
      - python3.10
    exclude: []

  runtime:
    env:
      PATH: '${APPDIR}/usr/bin:${PATH}'
      # Set python home
      # See https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHOME
      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.10/site-packages'

AppImage:
  update-information: 'gh-releases-zsync|AppImageCrafters|keytree|latest|python-appimage-*x86_64.AppImage.zsync'
  sign-key: None
  arch: x86_64