-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows shell init files use executable name (#3546)
* shell-init: Windows bat paths are factorized and depend on exe name (micromamba or mamba) except for mamba_hook.bat which for now needs to keep that name whatever the exe name; * Fixed windows version detection: When more than one line of output appears at the start of cmd (because of AUTORUN), we parsed only the first line which failed the version detection. This version simply search every line instead of just the first one. It also clarifies through more precise logs the exact reason why enabling long-paths actually failed. * Improved error output for clarity on failure to create shell-init files (.bat) or directories. --------- Co-authored-by: Johan Mabille <johan.mabille@gmail.com>
- Loading branch information
1 parent
3d9486f
commit 651622b
Showing
7 changed files
with
173 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,3 +89,6 @@ installed.json | |
tmp/ | ||
test_7.json.state | ||
_skbuild/ | ||
|
||
|
||
/vcpkg_installed/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@REM Copyright (C) 2021 QuantStack | ||
@REM SPDX-License-Identifier: BSD-3-Clause | ||
|
||
@CALL "%~dp0..\condabin\mamba_hook.bat" | ||
@CALL "%~dp0..\condabin\__MAMBA_INSERT_HOOK_BAT_NAME__" | ||
__MAMBA_INSERT_EXE_NAME__ activate %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.