File tree Expand file tree Collapse file tree 11 files changed +15
-11
lines changed
CascadiaPackage/ProfileGeneratorIcons Expand file tree Collapse file tree 11 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 21
21
<DeploymentContent >true</DeploymentContent >
22
22
<Link >ProfileIcons\%(RecursiveDir)%(FileName)%(Extension)</Link >
23
23
</Content >
24
+ <!-- Profile Generator Icons -->
25
+ <Content Include =" $(OpenConsoleDir)src\cascadia\CascadiaPackage\ProfileGeneratorIcons\**\*" >
26
+ <DeploymentContent >true</DeploymentContent >
27
+ <Link >ProfileGeneratorIcons\%(RecursiveDir)%(FileName)%(Extension)</Link >
28
+ </Content >
24
29
<!-- Default Settings -->
25
30
<Content Include =" $(OpenConsoleDir)src\cascadia\TerminalSettingsModel\defaults.json" >
26
31
<DeploymentContent >true</DeploymentContent >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ using namespace ::Microsoft::Terminal::Settings::Model;
14
14
using namespace winrt ::Microsoft::Terminal::Settings::Model;
15
15
using namespace winrt ::Microsoft::Terminal::TerminalConnection;
16
16
17
- std::wstring_view PROFILE_ICON_PATH_HIGH_RES { L" ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.scale-200 .png" };
17
+ std::wstring_view GENERATOR_ICON_PATH { L" ms-appx:///ProfileGeneratorIcons/AzureCloudShell .png" };
18
18
19
19
std::wstring_view AzureCloudShellGenerator::GetNamespace () const noexcept
20
20
{
@@ -28,7 +28,7 @@ std::wstring_view AzureCloudShellGenerator::GetDisplayName() const noexcept
28
28
29
29
std::wstring_view AzureCloudShellGenerator::GetIcon () const noexcept
30
30
{
31
- return PROFILE_ICON_PATH_HIGH_RES ;
31
+ return GENERATOR_ICON_PATH ;
32
32
}
33
33
34
34
// Method Description:
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ static constexpr std::wstring_view POWERSHELL_PFN{ L"Microsoft.PowerShell_8wekyb
21
21
static constexpr std::wstring_view POWERSHELL_PREVIEW_PFN{ L" Microsoft.PowerShellPreview_8wekyb3d8bbwe" };
22
22
static constexpr std::wstring_view PWSH_EXE{ L" pwsh.exe" };
23
23
static constexpr std::wstring_view POWERSHELL_ICON{ L" ms-appx:///ProfileIcons/pwsh.png" };
24
- static constexpr std::wstring_view POWERSHELL_ICON_HIGH_RES{ L" ms-appx:///ProfileIcons/pwsh.scale-200.png" };
25
24
static constexpr std::wstring_view POWERSHELL_PREVIEW_ICON{ L" ms-appx:///ProfileIcons/pwsh-preview.png" };
25
+ static constexpr std::wstring_view GENERATOR_POWERSHELL_ICON{ L" ms-appx:///ProfileGeneratorIcons/PowerShell.png" };
26
26
static constexpr std::wstring_view POWERSHELL_PREFERRED_PROFILE_NAME{ L" PowerShell" };
27
27
28
28
namespace
@@ -303,7 +303,7 @@ std::wstring_view PowershellCoreProfileGenerator::GetDisplayName() const noexcep
303
303
304
304
std::wstring_view PowershellCoreProfileGenerator::GetIcon () const noexcept
305
305
{
306
- return POWERSHELL_ICON_HIGH_RES ;
306
+ return GENERATOR_POWERSHELL_ICON ;
307
307
}
308
308
309
309
// Method Description:
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ static constexpr std::wstring_view SshHostGeneratorNamespace{ L"Windows.Terminal
13
13
14
14
static constexpr std::wstring_view PROFILE_TITLE_PREFIX = L" SSH - " ;
15
15
static constexpr std::wstring_view PROFILE_ICON_PATH = L" ms-appx:///ProfileIcons/{550ce7b8-d500-50ad-8a1a-c400c3262db3}.png" ;
16
- static constexpr std::wstring_view PROFILE_ICON_PATH_HIGH_RES = L" ms-appx:///ProfileIcons/{550ce7b8-d500-50ad-8a1a-c400c3262db3}.scale-200 .png" ;
16
+ static constexpr std::wstring_view GENERATOR_ICON_PATH = L" ms-appx:///ProfileGeneratorIcons/SSH .png" ;
17
17
18
18
// OpenSSH is installed under System32 when installed via Optional Features
19
19
static constexpr std::wstring_view SSH_EXE_PATH1 = L" %SystemRoot%\\ System32\\ OpenSSH\\ ssh.exe" ;
@@ -141,7 +141,7 @@ std::wstring_view SshHostGenerator::GetDisplayName() const noexcept
141
141
142
142
std::wstring_view SshHostGenerator::GetIcon () const noexcept
143
143
{
144
- return PROFILE_ICON_PATH_HIGH_RES ;
144
+ return GENERATOR_ICON_PATH ;
145
145
}
146
146
147
147
// Method Description:
Original file line number Diff line number Diff line change 11
11
using namespace winrt ::Microsoft::Terminal::Settings::Model;
12
12
13
13
std::wstring_view VisualStudioGenerator::Namespace{ L" Windows.Terminal.VisualStudio" };
14
- // TODO CARLOS: Can we get the plain Visual Studio logo that looks like this: |><| ?
15
- static constexpr std::wstring_view IconHighRes{ L" ms-appx:///ProfileIcons/vs-pwsh.scale-200.png" };
14
+ static constexpr std::wstring_view IconPath{ L" ms-appx:///ProfileGeneratorIcons/VisualStudio.png" };
16
15
17
16
std::wstring_view VisualStudioGenerator::GetNamespace () const noexcept
18
17
{
@@ -26,7 +25,7 @@ std::wstring_view VisualStudioGenerator::GetDisplayName() const noexcept
26
25
27
26
std::wstring_view VisualStudioGenerator::GetIcon () const noexcept
28
27
{
29
- return IconHighRes ;
28
+ return IconPath ;
30
29
}
31
30
32
31
void VisualStudioGenerator::GenerateProfiles (std::vector<winrt::com_ptr<implementation::Profile>>& profiles) const
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ static constexpr std::wstring_view WslHomeDirectory{ L"~" };
14
14
static constexpr std::wstring_view DockerDistributionPrefix{ L" docker-desktop" };
15
15
static constexpr std::wstring_view RancherDistributionPrefix{ L" rancher-desktop" };
16
16
static constexpr std::wstring_view IconPath{ L" ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png" };
17
- static constexpr std::wstring_view IconPathHighRes { L" ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.scale-200 .png" };
17
+ static constexpr std::wstring_view GeneratorIconPath { L" ms-appx:///ProfileGeneratorIcons/WSL .png" };
18
18
19
19
// The WSL entries are structured as such:
20
20
// HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss
@@ -57,7 +57,7 @@ std::wstring_view WslDistroGenerator::GetDisplayName() const noexcept
57
57
58
58
std::wstring_view WslDistroGenerator::GetIcon () const noexcept
59
59
{
60
- return IconPathHighRes ;
60
+ return GeneratorIconPath ;
61
61
}
62
62
63
63
static winrt::com_ptr<implementation::Profile> makeProfile (const std::wstring& distName)
You can’t perform that action at this time.
0 commit comments