Compare commits
2 Commits
e42dd10982
...
fee630e4cb
| Author | SHA1 | Date |
|---|---|---|
|
|
fee630e4cb | |
|
|
19a0733563 |
|
|
@ -0,0 +1,11 @@
|
|||
[Desktop Entry]
|
||||
Categories=Development;
|
||||
Exec=run.sh %U
|
||||
Icon=com.apifox.Apifox
|
||||
StartupWMClass=apifox
|
||||
Name=Apifox
|
||||
Keywords=api;apifox;postman;curl;request;
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
SingleMainWindow=true
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
|
|
@ -0,0 +1,38 @@
|
|||
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
|
||||
Loading…
Reference in New Issue