Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion constructor/briefcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def create_install_options_list(info: dict) -> list[dict]:
options.append(
{
"name": "initialize_conda",
"title": "Add installation to my PATH environment variable",
"title": "Add installation to my PATH environment variable (single-user installs only)",
"description": description,
"default": info.get("initialize_by_default", False),
}
Expand Down
4 changes: 2 additions & 2 deletions constructor/briefcase/run_installation.bat
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ rem because MSI expects the file to be there to clean the registry.
del "%PAYLOAD_TAR%"
if errorlevel 1 ( exit /b %errorlevel% )

rem Add to PATH / run conda init if the option was selected
rem Add to PATH / run conda init if the option was selected (single-user installs only)
{%- set pathflag = "--condabin" if initialize_conda == "condabin" else "--classic" %}
if "%OPTION_INITIALIZE_CONDA%"=="1" (
if "%OPTION_INITIALIZE_CONDA%"=="1" if exist "%BASE_PATH%\.nonadmin" (
{{ tee("Adding to PATH...") }}
"%CONDA_EXE%" constructor windows path --prepend=user --prefix "%BASE_PATH%" {{ pathflag }} --log-file "%LOG%"
if errorlevel 1 ( exit /b %errorlevel% )
Expand Down
Loading