forked from bpozdena/OneDriveGUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppImageBuilder.yml
43 lines (37 loc) · 1.32 KB
/
AppImageBuilder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 1
script:
- rm -rf AppDir | true
- mkdir -p AppDir/usr
- mkdir -p AppDir/usr/share/icons/hicolor/48x48
- cp src AppDir/usr -r
- cp src/resources/images/OneDriveGUI.png AppDir/usr/share/icons/hicolor/48x48
- python3 -m pip install --ignore-installed --prefix=/usr --no-cache-dir --root=AppDir -r ./requirements.txt
- rm -rf AppDir/usr/lib/python3.8/site-packages/PySide6/Qt/qml/
- rm -rf AppDir/usr/lib/python3.8/site-packages/PySide6/examples/
- rm -rf AppDir/usr/lib/python3.8/site-packages/PySide6/Qt/resources/
- rm AppDir/usr/lib/python3.8/site-packages/PySide6/{assistant,designer,linguist,lrelease,lupdate}
AppDir:
path: ./AppDir
app_info:
id: io.github.bpozdena.OneDriveGUI
name: OneDriveGUI
icon: OneDriveGUI
version: 0.0.1
exec: usr/bin/python3
exec_args: "$APPDIR/usr/src/OneDriveGUI.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'
include:
- python3
exclude: []
runtime:
env:
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'
AppImage:
# update-information: gh-releases-zsync
sign-key: None
arch: x86_64