mirror of
https://github.com/rwinkhart/sshyp-labs.git
synced 2026-09-05 16:47:29 -04:00
sshyp-mfa - Fixed clipboard typos
This commit is contained in:
@@ -84,7 +84,7 @@ if __name__ == '__main__':
|
|||||||
elif uname()[0] == 'Haiku': # Haiku clipboard detection
|
elif uname()[0] == 'Haiku': # Haiku clipboard detection
|
||||||
run(('clipboard', '-c', _mfa_key))
|
run(('clipboard', '-c', _mfa_key))
|
||||||
elif uname()[0] == 'Darwin': # MacOS clipboard detection
|
elif uname()[0] == 'Darwin': # MacOS clipboard detection
|
||||||
run(('pbcopy'), stdin=Popen(('printf', _mfa_key)), stdout=PIPE).stdout
|
run('pbcopy', stdin=Popen(('printf', _mfa_key), stdout=PIPE).stdout)
|
||||||
elif isdir("/data/data/com.termux"): # Termux (Android) clipboard detection
|
elif isdir("/data/data/com.termux"): # Termux (Android) clipboard detection
|
||||||
run(('termux-clipboard-set', _mfa_key))
|
run(('termux-clipboard-set', _mfa_key))
|
||||||
else: # X11 clipboard detection
|
else: # X11 clipboard detection
|
||||||
|
|||||||
Reference in New Issue
Block a user