Skip to content

Commit 474f5e9

Browse files
committed
Change update message texts
1 parent 84ba8d6 commit 474f5e9

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

activity_browser/__main__.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ def check_pyside_version():
208208
try:
209209
import PySide6
210210
except ImportError:
211-
input("\033[93mPySide6 is not installed but highly recommended.\n\n"
211+
input("\033[1;31mPySide6 is not installed but highly recommended.\n\n"
212212
"Please install it using 'pip install PySide6'.\n\n"
213-
"Press Enter to continue without it.\033[0m")
213+
"Press any key to continue...\033[0m")
214214

215215

216216
def check_conda_update():
@@ -223,8 +223,9 @@ def check_conda_update():
223223
print("Could not fetch latest Activity Browser version")
224224

225225
elif ab_current != "0.0.0" and ab_current != ab_response.json()['latest_version']:
226-
print("There is an update available for the Activity Browser. Please update it using the following command: \n "
227-
"conda update activity-browser")
226+
input("\033[1;31mThere is an update available for the Activity Browser. Please update it using the following command: \n "
227+
"conda update activity-browser\n\n"
228+
"Press any key to continue without updating...\033[0m")
228229

229230

230231
def check_pypi_update():
@@ -237,8 +238,9 @@ def check_pypi_update():
237238
print("Could not fetch latest Activity Browser version")
238239

239240
elif ab_current != "0.0.0" and ab_current != ab_response.json()['info']['version']:
240-
print("There is an update available for the Activity Browser. Please update it using the following command: \n "
241-
"pip install --upgrade activity-browser")
241+
input("\033[1;31mThere is an update available for the Activity Browser. Please update it using the following command: \n "
242+
"pip install --upgrade activity-browser\n\n"
243+
"Press any key to continue without updating...\033[0m")
242244

243245

244246
if "--no-launcher" in sys.argv:

0 commit comments

Comments
 (0)