|
2 | 2 | import six |
3 | 3 | import os |
4 | 4 | import subprocess |
5 | | -import signal |
6 | 5 | import ctypes |
7 | 6 | import traceback |
8 | 7 | try: |
@@ -77,8 +76,7 @@ def run_monitor(path): |
77 | 76 |
|
78 | 77 | def run_screen(): |
79 | 78 | clear() |
80 | | - log('Select the monitor(s) you want to run. To run multiple, list them with spaces (Example: 1 5 6 7), but note the risks related to running multiple monitors here: ', colour='green') |
81 | | - log('r', colour='blue') # URL |
| 79 | + log('Select the monitor(s) you want to run. To run multiple, list them with spaces (Example: 1 5 6 7), but note that running too many monitors at once may harm your computer. It is suggested a maximum of 4 monitors to be used at one time, but different systems may be able to handle more or less.', colour='green') |
82 | 80 | for i, m in enumerate(__monitors__): |
83 | 81 | log(f' [{i}] {m}', colour='blue') |
84 | 82 | log(f' [{i+1}] Back', colour='blue') |
@@ -170,17 +168,18 @@ def main(): |
170 | 168 | clear() |
171 | 169 | log(' ***** HELP *****\n', colour='green') |
172 | 170 | log('You can follow along to YouTube tutorials at:', colour='blue') |
173 | | - log('\n',colour='green') |
| 171 | + log('https://www.youtube.com/c/yascode\n',colour='green') |
174 | 172 | log('You can find documentation at the following link:', colour='blue') |
175 | | - log('\n', colour='green') # Link to documentation |
| 173 | + log('https://yasserqureshi1.github.io/Sneaker-Monitors/\n', colour='green') # Link to documentation |
176 | 174 | log('You can join the Discord server for more help here:', colour='blue') |
177 | | - log('\n', colour='green') # Link to discord server |
| 175 | + log('https://discord.gg/kWmAqpUtrf\n', colour='green') # Link to discord server |
178 | 176 | log('\n\nPress any button to go back.', colour='yellow') |
179 | 177 | if type(input()) == type(""): |
180 | 178 | main() |
181 | 179 |
|
182 | 180 | elif option == '4': |
183 | | - os.kill(os.getppid(), signal.SIGHUP) |
| 181 | + clear() |
| 182 | + exit() |
184 | 183 |
|
185 | 184 | else: |
186 | 185 | log('Invalid option. Please try again in...', colour='red') |
|
0 commit comments