Skip to content

Commit 575b454

Browse files
committed
Fix description
1 parent a83410c commit 575b454

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

constructor/briefcase.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,18 @@ def create_install_options_list(info: dict) -> list[dict]:
132132
initialize_conda = info.get("initialize_conda", "classic")
133133
if initialize_conda:
134134
# TODO: How would we distinguish between condabin/classic in the UI?
135+
if initialize_conda == "condabin":
136+
description = "Adds condabin, which only contains the 'conda' executables, to PATH. "
137+
"Does not require special shortcuts but activation needs "
138+
"to be performed manually."
139+
else:
140+
description = "NOT recommended. This can lead to conflicts with other applications. "
141+
"Instead, use the Commmand Prompt and Powershell menus added to the Windows Start Menu."
135142
options.append(
136143
{
137144
"name": "initialize_conda",
138145
"title": "Add installation to my PATH environment variable",
139-
"description": "NOT recommended. This can lead to conflicts with other applications. "
140-
"Instead, use the Commmand Prompt and Powershell menus added to the Windows Start Menu.",
146+
"description": description,
141147
"default": info.get("initialize_by_default", False),
142148
}
143149
)

0 commit comments

Comments
 (0)