You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wireguide/appimage/wireguide.yml

40 lines
1.4 KiB

app: ke.mic.wireguide
ingredients:
dist: groovy
sources:
- deb http://us.archive.ubuntu.com/ubuntu/ groovy groovy-updates groovy-security main universe
- deb http://us.archive.ubuntu.com/ubuntu/ groovy-updates main universe
- deb http://us.archive.ubuntu.com/ubuntu/ groovy-security main universe
script:
- wget -c https://raw.githubusercontent.com/mickenordin/wireguide/main/wireguide/logo.png -O ke.mic.wireguide.png
- wget -c https://raw.githubusercontent.com/mickenordin/wireguide/main/appimage/wireguide.appdata.xml -O wireguide.appdata.xml
- wget -c https://raw.githubusercontent.com/mickenordin/wireguide/main/wireguide/wireguide -O wireguide
packages:
- python3-gi
- python3-wxgtk4.0
- python3-sip
- libnm0
- gir1.2-nm-1.0
script:
- cp ../ke.mic.wireguide.png ./usr/share/icons/hicolor/256x256/
- cp ../ke.mic.wireguide.png .
- mkdir -p usr/share/metainfo/
- cp ../wireguide.appdata.xml ./usr/share/metainfo/
- cp ../wireguide ./usr/bin/
- chmod +x ./usr/bin/wireguide
- cat > ./usr/share/applications/ke.mic.wireguide.desktop <<\EOF
- [Desktop Entry]
- Type=Application
- Name=WireGUIde
- Comment=A GUI for WireGuard
- Icon=ke.mic.wireguide
- Exec=usr/bin/wireguide
- Terminal=false
- Categories=Application;
- Keywords=Python;
- MimeType=text/x-python3;
- EOF
- cp usr/share/applications/ke.mic.wireguide.desktop .
- echo 0.0.8 > ../VERSION