39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
app-id: com.apifox.Apifox
|
|
runtime: org.freedesktop.Platform
|
|
runtime-version: "23.08"
|
|
sdk: org.freedesktop.Sdk
|
|
base: org.electronjs.Electron2.BaseApp
|
|
base-version: "23.08"
|
|
command: run.sh
|
|
tags:
|
|
- proprietary
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=x11
|
|
- --socket=pulseaudio
|
|
- --share=network
|
|
- --device=dri
|
|
- --filesystem=home
|
|
- --talk-name=com.canonical.AppMenu.Registrar
|
|
modules:
|
|
- name: Apifox
|
|
buildsystem: simple
|
|
build-commands:
|
|
- cp -a * ${FLATPAK_DEST}/bin
|
|
post-install:
|
|
- install -D com.apifox.Apifox.desktop -t /app/share/applications/
|
|
- install -D com.apifox.Apifox.png -t /app/share/icons/hicolor/scalable/apps/
|
|
sources:
|
|
- type: archive
|
|
url: https://cdn.apifox.com/download/Apifox-linux-manual-latest.tar.gz
|
|
sha256: b314a2d81f1aaab10a57ffa7e4518adcb6eea2e3f6f9499372af38439a3c749c
|
|
- type: script
|
|
dest-filename: run.sh
|
|
commands:
|
|
- export TMPDIR="$XDG_CACHE_HOME"
|
|
- zypak-wrapper.sh /app/bin/apifox "$@"
|
|
- type: file
|
|
path: com.apifox.Apifox.png
|
|
- type: file
|
|
path: com.apifox.Apifox.desktop
|