-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrest.insomnia.Insomnia.yml
69 lines (67 loc) · 3.15 KB
/
rest.insomnia.Insomnia.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
app-id: rest.insomnia.Insomnia
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
separate-locales: false
command: insomnia
rename-icon: insomnia
rename-desktop-file: insomnia.desktop
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --share=network
- --device=dri
- --env=ELECTRON_TRASH=gio
- --talk-name=org.freedesktop.Notifications
modules:
- name: insomnia
buildsystem: simple
build-commands:
- chmod +x insomnia.AppImage
- ./insomnia.AppImage --appimage-extract
- rm insomnia.AppImage
- install -Dm755 insomnia /app/bin/insomnia
- install -dm755 /app/share/applications
- sed -e 's|Exec=AppRun|Exec=/app/bin/insomnia|' squashfs-root/insomnia.desktop > /app/share/applications/insomnia.desktop
- install -Dm644 squashfs-root/usr/share/icons/hicolor/512x512/apps/insomnia.png -t /app/share/icons/hicolor/512x512/apps
- install -Dm644 squashfs-root/usr/share/icons/hicolor/256x256/apps/insomnia.png -t /app/share/icons/hicolor/256x256/apps
- install -Dm644 squashfs-root/usr/share/icons/hicolor/128x128/apps/insomnia.png -t /app/share/icons/hicolor/128x128/apps
- install -Dm644 squashfs-root/usr/share/icons/hicolor/64x64/apps/insomnia.png -t /app/share/icons/hicolor/64x64/apps
- install -Dm644 squashfs-root/usr/share/icons/hicolor/32x32/apps/insomnia.png -t /app/share/icons/hicolor/32x32/apps
- install -Dm644 squashfs-root/usr/share/icons/hicolor/16x16/apps/insomnia.png -t /app/share/icons/hicolor/16x16/apps
- install -Dm644 rest.insomnia.Insomnia.metainfo.xml -t /app/share/metainfo/
- rm -f squashfs-root/{.DirIcon,AppRun,insomnia.desktop.insomnia.png}
- mv squashfs-root /app/main/
sources:
- type: file
path: rest.insomnia.Insomnia.metainfo.xml
- type: script
dest-filename: insomnia
commands:
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
- exec zypak-wrapper.sh /app/main/insomnia --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
- type: file
dest-filename: insomnia.AppImage
only-arches:
- x86_64
url: https://github.com/Kong/insomnia/releases/download/[email protected]/Insomnia.Core-10.3.1-x86_64.AppImage
sha256: 152a8bc1dcd327dd17f1ac2223c75eff33aecf90792b7acdafbf19701e247d65
x-checker-data:
type: anitya
project-id: 372839
stable-only: true
url-template: https://github.com/Kong/insomnia/releases/download/core@$version/Insomnia.Core-$version-x86_64.AppImage
- type: file
dest-filename: insomnia.AppImage
only-arches:
- aarch64
url: https://github.com/Kong/insomnia/releases/download/[email protected]/Insomnia.Core-10.3.1-arm64.AppImage
sha256: f29b8ee3bc86394a21ca45b2e3d6c44a0d73194a9a1e7ab5a85f2ae95981232a
x-checker-data:
type: anitya
project-id: 372839
stable-only: true
url-template: https://github.com/Kong/insomnia/releases/download/core@$version/Insomnia.Core-$version-arm64.AppImage