You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installer/lib/messages.py
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,15 @@
36
36
37
37
38
38
defwelcome():
39
-
40
39
@group()
41
40
deftext():
42
41
if (platform_specific:=_platform_specific_help()) !="":
43
42
yieldplatform_specific
44
43
yield""
45
-
yieldText.from_markup("Some of the installation steps take a long time to run. Please be patient. If the script appears to hang for more than 10 minutes, please interrupt with [i]Control-C[/] and retry.", justify="center")
44
+
yieldText.from_markup(
45
+
"Some of the installation steps take a long time to run. Please be patient. If the script appears to hang for more than 10 minutes, please interrupt with [i]Control-C[/] and retry.",
# if the given destination already exists, the starting point for browsing is its parent directory.
97
99
# the user may have made a typo, or otherwise wants to place the root dir next to an existing one.
98
100
# if the destination dir does NOT exist, then the user must have changed their mind about the selection.
@@ -300,15 +302,20 @@ def introduction() -> None:
300
302
)
301
303
console.line(2)
302
304
303
-
def_platform_specific_help()->str:
305
+
306
+
def_platform_specific_help() ->str:
304
307
ifOS=="Darwin":
305
-
text=Text.from_markup("""[b wheat1]macOS Users![/]\n\nPlease be sure you have the [b wheat1]Xcode command-line tools[/] installed before continuing.\nIf not, cancel with [i]Control-C[/] and follow the Xcode install instructions at [deep_sky_blue1]https://www.freecodecamp.org/news/install-xcode-command-line-tools/[/].""")
308
+
text=Text.from_markup(
309
+
"""[b wheat1]macOS Users![/]\n\nPlease be sure you have the [b wheat1]Xcode command-line tools[/] installed before continuing.\nIf not, cancel with [i]Control-C[/] and follow the Xcode install instructions at [deep_sky_blue1]https://www.freecodecamp.org/news/install-xcode-command-line-tools/[/]."""
310
+
)
306
311
elifOS=="Windows":
307
-
text=Text.from_markup("""[b wheat1]Windows Users![/]\n\nBefore you start, please do the following:
312
+
text=Text.from_markup(
313
+
"""[b wheat1]Windows Users![/]\n\nBefore you start, please do the following:
308
314
1. Double-click on the file [b wheat1]WinLongPathsEnabled.reg[/] in order to
309
315
enable long path support on your system.
310
316
2. Make sure you have the [b wheat1]Visual C++ core libraries[/] installed. If not, install from
0 commit comments