mirror of https://gitlab.com/bashrc2/epicyon
Rename option to desktop
parent
9e0da09cf0
commit
4ecee6b829
|
@ -454,7 +454,7 @@ parser.add_argument('--level', dest='skillLevelPercent', type=int,
|
|||
parser.add_argument('--status', '--availability', dest='availability',
|
||||
type=str, default=None,
|
||||
help='Set an availability status')
|
||||
parser.add_argument('--client', dest='client',
|
||||
parser.add_argument('--desktop', dest='desktop',
|
||||
type=str, default=None,
|
||||
help='Run desktop client')
|
||||
parser.add_argument('--block', dest='block', type=str, default=None,
|
||||
|
@ -1831,7 +1831,7 @@ if args.availability:
|
|||
time.sleep(1)
|
||||
sys.exit()
|
||||
|
||||
if args.client:
|
||||
if args.desktop:
|
||||
# Announce posts as they arrive in your inbox using text-to-speech
|
||||
if args.notifications.startswith('@'):
|
||||
args.notifications = args.notifications[1:]
|
||||
|
|
|
@ -109,7 +109,7 @@ fi
|
|||
echo " zenity --warning --width=400 --text \"No password was given\"";
|
||||
echo ' exit 3';
|
||||
echo 'fi';
|
||||
echo "python3 epicyon.py --client ${HANDLE} --password \"\$PASSWORD\""; } > ~/epicyon-client
|
||||
echo "python3 epicyon.py --desktop ${HANDLE} --password \"\$PASSWORD\""; } > ~/epicyon-client
|
||||
chmod +x ~/epicyon-client
|
||||
|
||||
zenity --info --width=400 --text "Epicyon desktop client is now installed. You can run it with ~/epicyon-client"
|
||||
|
|
Loading…
Reference in New Issue