mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
Update modutils.py
This commit is contained in:
parent
c9f0480ffc
commit
a9faabb379
@ -186,7 +186,8 @@ def delete_user_system_scripts() -> None:
|
|||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
print('User system scripts deleted.')
|
print('User system scripts deleted.')
|
||||||
_babase.screenmessage('Deleted User System Scripts', color=(0, 1, 0))
|
_babase.screenmessage('Deleted User System Scripts', color=(0, 1, 0))
|
||||||
_babase.quit()
|
_babase.screenmessage(f'Closing {_babase.appname()} to make changes.', color=(0, 1, 0))
|
||||||
|
_babase.apptimer(2.0, _babase.quit)
|
||||||
else:
|
else:
|
||||||
print(f"User system scripts not found at '{path}'.")
|
print(f"User system scripts not found at '{path}'.")
|
||||||
_babase.screenmessage('User Scripts Not Found', color=(1, 0, 0))
|
_babase.screenmessage('User Scripts Not Found', color=(1, 0, 0))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user