Skip to content

Commit

Permalink
fixup: apparently shell init for cmd must be built for other platform…
Browse files Browse the repository at this point in the history
…s than windows :|
  • Loading branch information
Klaim committed Oct 17, 2024
1 parent 4ff204d commit 8b4d449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libmamba/src/core/shell_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ namespace mamba
return "";
}

#ifdef _WIN32

namespace
namespace // Windows-specific but must be available for cli on all platforms
{
struct RunInfo // FIXME: find a better name
{
Expand Down Expand Up @@ -165,6 +163,8 @@ namespace mamba
}


#ifdef _WIN32

std::wstring get_autorun_registry_key(const std::wstring& reg_path)
{
winreg::RegKey key{ HKEY_CURRENT_USER, reg_path };
Expand Down

0 comments on commit 8b4d449

Please sign in to comment.