master
Can202 2021-06-12 02:43:45 -04:00
parent d6abf2d2bc
commit 33249b3c6d
2 changed files with 26 additions and 0 deletions

19
zerotier-gui.desktop Executable file
View File

@ -0,0 +1,19 @@
[Desktop Entry]
Categories=Utility;
Comment=Linux front-end for ZeroTier
Encoding=UTF-8
Exec=pkexec sudo zerotier-gui
GenericName=ZeroTier GUI
Icon=zerotier-gui
MimeType=
Name=ZeroTier GUI
Path=
StartupNotify=false
Terminal=true
TerminalOptions=
Type=Application
Version=1.2.2
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

View File

@ -1,4 +1,11 @@
#!/bin/sh
if [ $1 = "--version" ]
then
echo "version v0.1"
exit
fi
echo "do you use su command?(y/n)"
read sucommand
if [ $sucommand = y ]