diff --git a/appimage/wireguide.appdata.xml b/appimage/wireguide.appdata.xml new file mode 100644 index 0000000..bfaab98 --- /dev/null +++ b/appimage/wireguide.appdata.xml @@ -0,0 +1,21 @@ + + + wireguide + GPL-3.0 + GPL-3.0 + WireGUIde + WireGUIde is a GUI for WireGuard + +

WireGUIde is a GUI for WireGuard that uses dbus to talk to NetworkManager. WireGUIde is free and open source software.

+
+ wireguide.desktop + https://github.com/mickenordin/wireguide + + + https://github.com/mickenordin/wireguide + + + + wireguide.desktop + +
\ No newline at end of file diff --git a/appimage/wireguide.yml b/appimage/wireguide.yml new file mode 100644 index 0000000..f4a55ed --- /dev/null +++ b/appimage/wireguide.yml @@ -0,0 +1,37 @@ +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://github.com/mickenordin/wireguide/blob/main/wireguide/logo.png -O ke.mic.wireguide.png + - wget -c https://github.com/mickenordin/wireguide/blob/main/appimage/wireguide.appdata.xml -O wireguide.appdata.xml + packages: + - python3-pip + - python3-gi + - python3-wxgtk4.0 + - python3-sip + - libnm0 + - gir1.2-nm-1.0 +script: + - ./usr/bin/pip3 install WireGUIde + - 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/ + - 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=python3 /usr/local/bin/wireguide + - Terminal=false + - Categories=Application; + - Keywords=Python; + - MimeType=text/x-python3; + - EOF + - cp usr/share/applications/ke.mic.wireguide.desktop . + - usr/bin/pip3 freeze | grep "wireguide" | cut -d "=" -f 3 >> ../VERSION:0 + diff --git a/setup.py b/setup.py index 250bef7..bf130cd 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="wireguide", - version="0.0.5", + version="0.0.6", author="Mikael Nordin", author_email="mik@elnord.in", description="A WireGuard GUI for GNU/Linux", diff --git a/wireguide/wireguide b/wireguide/wireguide index 22f6381..8a498a6 100755 --- a/wireguide/wireguide +++ b/wireguide/wireguide @@ -24,7 +24,7 @@ class WireFrame(wx.Frame): # pylint: disable=too-many-ancestors,too-many-instan def __init__(self, *args, **kw): super().__init__(*args, **kw) self.SetIcon(wx.Icon(get_logo_path())) - self.version = "0.0.5" + self.version = "0.0.6" # Get active conns from NetworkManager self.client = NM.Client.new(None) @@ -213,6 +213,7 @@ class WireFrame(wx.Frame): # pylint: disable=too-many-ancestors,too-many-instan with wx.FileDialog(self, "Open WireGuard config file", wildcard="WireGuard files (*.conf)|*.conf", + defaultDir="~/", style=wx.FD_OPEN | wx.FD_FILE_MUST_EXIST) as file_dialog: