mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-02 15:17:18 -04:00
Use full path for Termux tmp symlink
This commit is contained in:
@@ -58,7 +58,7 @@ def tweak(): # runs configuration wizard
|
|||||||
pass
|
pass
|
||||||
if not Path(f"{path.expanduser('~/.config/sshyp/tmp')}").is_file():
|
if not Path(f"{path.expanduser('~/.config/sshyp/tmp')}").is_file():
|
||||||
if Path("/data/data/com.termux").is_file():
|
if Path("/data/data/com.termux").is_file():
|
||||||
system(f"ln -s {path.expanduser('~/../usr/tmp')} {path.expanduser('~/.config/sshyp/tmp')}")
|
system(f"ln -s '/data/data/com.termux/files/usr/tmp' {path.expanduser('~/.config/sshyp/tmp')}")
|
||||||
else:
|
else:
|
||||||
system(f"ln -s /dev/shm {path.expanduser('~/.config/sshyp/tmp')}")
|
system(f"ln -s /dev/shm {path.expanduser('~/.config/sshyp/tmp')}")
|
||||||
# device type configuration
|
# device type configuration
|
||||||
@@ -156,7 +156,7 @@ def print_info(): # prints help text based on argument
|
|||||||
print('/ /')
|
print('/ /')
|
||||||
print('/ sshyp Copyright (C) 2021 Randall Winkhart /')
|
print('/ sshyp Copyright (C) 2021 Randall Winkhart /')
|
||||||
print('/ /')
|
print('/ /')
|
||||||
print('/ Version 2022.01.16.fr3.2 /')
|
print('/ Version 2022.01.17.fr3.3 /')
|
||||||
print('/ The Boxing Update /')
|
print('/ The Boxing Update /')
|
||||||
print('/ /')
|
print('/ /')
|
||||||
print('////////////////////////////////////////////////////////\n')
|
print('////////////////////////////////////////////////////////\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user