mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-07-07 19:09:43 +02:00
Compare commits
4 Commits
shawn/Pyth
...
v0.46.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da13f79d13 | ||
|
|
ba4b91a227 | ||
|
|
dc52fd8b74 | ||
|
|
2696b935c5 |
@@ -62,10 +62,10 @@ build:
|
|||||||
exclude:
|
exclude:
|
||||||
- 'x64/Release/obj/**/*.pdb'
|
- 'x64/Release/obj/**/*.pdb'
|
||||||
# TODO(yuyoyuppe): uncomment when VCM should be enabled
|
# TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||||
#- from: 'x86/Release'
|
- from: 'x86/Release'
|
||||||
# to: 'Build_Output'
|
to: 'Build_Output'
|
||||||
# include:
|
include:
|
||||||
# - 'modules\VideoConference\VideoConferenceProxyFilter_x86.dll'
|
- 'modules\VideoConference\VideoConferenceProxyFilter_x86.dll'
|
||||||
- from: 'x64/Release'
|
- from: 'x64/Release'
|
||||||
to: 'Build_Output'
|
to: 'Build_Output'
|
||||||
include:
|
include:
|
||||||
@@ -166,8 +166,9 @@ build:
|
|||||||
- 'modules\ShortcutGuide\ShortcutGuide\PowerToys.ShortcutGuide.exe'
|
- 'modules\ShortcutGuide\ShortcutGuide\PowerToys.ShortcutGuide.exe'
|
||||||
- 'modules\ShortcutGuide\ShortcutGuideModuleInterface\ShortcutGuideModuleInterface.dll'
|
- 'modules\ShortcutGuide\ShortcutGuideModuleInterface\ShortcutGuideModuleInterface.dll'
|
||||||
# TODO(yuyoyuppe): uncomment when VCM should be enabled
|
# TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||||
#- 'modules\VideoConference\VideoConferenceModule.dll'
|
- 'modules\VideoConference\VideoConferenceModule.dll'
|
||||||
#- 'modules\VideoConference\VideoConferenceProxyFilter_x64.dll'
|
- 'modules\VideoConference\VideoConferenceProxyFilter_x64.dll'
|
||||||
|
- 'modules\VideoConference\VideoConferenceProxyFilter_x86.dll'
|
||||||
- 'Settings\ManagedTelemetry.dll'
|
- 'Settings\ManagedTelemetry.dll'
|
||||||
- 'Settings\Microsoft.PowerToys.Settings.UI.exe'
|
- 'Settings\Microsoft.PowerToys.Settings.UI.exe'
|
||||||
- 'Settings\Microsoft.PowerToys.Settings.UI.Lib.dll'
|
- 'Settings\Microsoft.PowerToys.Settings.UI.Lib.dll'
|
||||||
|
|||||||
@@ -222,9 +222,9 @@
|
|||||||
<Directory Id="ShortcutGuideModuleInterfaceInstallFolder" Name="ShortcutGuideModuleInterface"/>
|
<Directory Id="ShortcutGuideModuleInterfaceInstallFolder" Name="ShortcutGuideModuleInterface"/>
|
||||||
</Directory>
|
</Directory>
|
||||||
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
||||||
<!-- <Directory Id="VideoConferenceInstallFolder" Name="$(var.VideoConferenceProjectName)">
|
<Directory Id="VideoConferenceInstallFolder" Name="$(var.VideoConferenceProjectName)">
|
||||||
<Directory Id="VideoConferenceIconsFolder" Name="Icons" />
|
<Directory Id="VideoConferenceIconsFolder" Name="Icons" />
|
||||||
</Directory> -->
|
</Directory>
|
||||||
<Directory Id="FileExplorerPreviewInstallFolder" Name="FileExplorerPreview" />
|
<Directory Id="FileExplorerPreviewInstallFolder" Name="FileExplorerPreview" />
|
||||||
<Directory Id="FancyZonesInstallFolder" Name="$(var.FancyZonesProjectName)" />
|
<Directory Id="FancyZonesInstallFolder" Name="$(var.FancyZonesProjectName)" />
|
||||||
<Directory Id="AwakeInstallFolder" Name="$(var.AwakeProjectName)">
|
<Directory Id="AwakeInstallFolder" Name="$(var.AwakeProjectName)">
|
||||||
@@ -650,7 +650,7 @@
|
|||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
|
|
||||||
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
||||||
<!-- <DirectoryRef Id="VideoConferenceInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\">
|
<DirectoryRef Id="VideoConferenceInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\">
|
||||||
<Component Id="Module_VideoConference" Guid="5996527a-40fc-432e-b3ac-abc0b4bd3887" Win64="yes">
|
<Component Id="Module_VideoConference" Guid="5996527a-40fc-432e-b3ac-abc0b4bd3887" Win64="yes">
|
||||||
<Condition>WINDOWSBUILDNUMBER >= 18362</Condition>
|
<Condition>WINDOWSBUILDNUMBER >= 18362</Condition>
|
||||||
<File SelfRegCost="1" Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\VideoConferenceProxyFilter_x64.dll" KeyPath="yes">
|
<File SelfRegCost="1" Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\VideoConferenceProxyFilter_x64.dll" KeyPath="yes">
|
||||||
@@ -678,7 +678,7 @@
|
|||||||
<File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\On-On Dark.png" />
|
<File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\On-On Dark.png" />
|
||||||
<File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\On-On Light.png" />
|
<File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\On-On Light.png" />
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef> -->
|
</DirectoryRef>
|
||||||
|
|
||||||
<DirectoryRef Id="ShortcutGuideExecutableInstallFolder" FileSource="$(var.ShortcutGuideExecutable)">
|
<DirectoryRef Id="ShortcutGuideExecutableInstallFolder" FileSource="$(var.ShortcutGuideExecutable)">
|
||||||
<Component Id="Module_ShortcutGuideExecutable" Guid="DA6E5710-F1DF-44EB-A316-300FA39544E9" Win64="yes">
|
<Component Id="Module_ShortcutGuideExecutable" Guid="DA6E5710-F1DF-44EB-A316-300FA39544E9" Win64="yes">
|
||||||
@@ -926,8 +926,8 @@
|
|||||||
<ComponentRef Id="Module_ShortcutGuideModuleInterface" />
|
<ComponentRef Id="Module_ShortcutGuideModuleInterface" />
|
||||||
<ComponentRef Id="Module_ShortcutGuideExecutable" />
|
<ComponentRef Id="Module_ShortcutGuideExecutable" />
|
||||||
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
<!-- TODO(yuyoyuppe): uncomment when VCM should be enabled -->
|
||||||
<!-- <ComponentRef Id="Module_VideoConference" />
|
<ComponentRef Id="Module_VideoConference" />
|
||||||
<ComponentRef Id="Module_VideoConferenceIcons" /> -->
|
<ComponentRef Id="Module_VideoConferenceIcons" />
|
||||||
<ComponentRef Id="Module_FancyZones" />
|
<ComponentRef Id="Module_FancyZones" />
|
||||||
<ComponentRef Id="DesktopShortcut" />
|
<ComponentRef Id="DesktopShortcut" />
|
||||||
<ComponentRef Id="Module_PowerRename" />
|
<ComponentRef Id="Module_PowerRename" />
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace updating
|
|||||||
|
|
||||||
std::future<std::optional<std::filesystem::path>> download_new_version(const new_version_download_info& new_version);
|
std::future<std::optional<std::filesystem::path>> download_new_version(const new_version_download_info& new_version);
|
||||||
std::filesystem::path get_pending_updates_path();
|
std::filesystem::path get_pending_updates_path();
|
||||||
std::future<nonstd::expected<github_version_info, std::wstring>> get_github_version_info_async(const bool prerelease = false);
|
std::future<nonstd::expected<github_version_info, std::wstring>> get_github_version_info_async(const bool prerelease = true);
|
||||||
|
|
||||||
// non-localized
|
// non-localized
|
||||||
constexpr inline std::wstring_view INSTALLER_FILENAME_PATTERN = L"powertoyssetup";
|
constexpr inline std::wstring_view INSTALLER_FILENAME_PATTERN = L"powertoyssetup";
|
||||||
|
|||||||
@@ -356,7 +356,8 @@ void FancyZones::WindowCreated(HWND window) noexcept
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_virtualDesktop.IsWindowOnCurrentDesktop(window))
|
auto desktopId = m_virtualDesktop.GetDesktopId(window);
|
||||||
|
if (desktopId.has_value() && *desktopId != m_currentDesktopId)
|
||||||
{
|
{
|
||||||
// Switch between virtual desktops results with posting same windows messages that also indicate
|
// Switch between virtual desktops results with posting same windows messages that also indicate
|
||||||
// creation of new window. We need to check if window being processed is on currently active desktop.
|
// creation of new window. We need to check if window being processed is on currently active desktop.
|
||||||
|
|||||||
@@ -145,12 +145,12 @@ int runner(bool isProcessElevated, bool openSettings, bool openOobe)
|
|||||||
|
|
||||||
};
|
};
|
||||||
// TODO(yuyoyuppe): uncomment when VCM should be enabled
|
// TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||||
//const auto VCM_PATH = L"modules/VideoConference/VideoConferenceModule.dll";
|
const auto VCM_PATH = L"modules/VideoConference/VideoConferenceModule.dll";
|
||||||
//if (const auto mf = LoadLibraryA("mf.dll"))
|
if (const auto mf = LoadLibraryA("mf.dll"))
|
||||||
//{
|
{
|
||||||
// FreeLibrary(mf);
|
FreeLibrary(mf);
|
||||||
// knownModules.emplace_back(VCM_PATH);
|
knownModules.emplace_back(VCM_PATH);
|
||||||
//}
|
}
|
||||||
|
|
||||||
for (const auto& moduleSubdir : knownModules)
|
for (const auto& moduleSubdir : knownModules)
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.3 MiB |
@@ -180,7 +180,8 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
|
|||||||
Link = "https://aka.ms/PowerToysOverview_ShortcutGuide",
|
Link = "https://aka.ms/PowerToysOverview_ShortcutGuide",
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Modules.Insert((int)PowerToysModulesEnum.VideoConference, new OobePowerToysModule()
|
// TODO(yuyoyuppe): uncomment when VCM should be enabled
|
||||||
|
Modules.Insert((int)PowerToysModulesEnum.VideoConference, new OobePowerToysModule()
|
||||||
{
|
{
|
||||||
ModuleName = loader.GetString("Oobe_VideoConference"),
|
ModuleName = loader.GetString("Oobe_VideoConference"),
|
||||||
Tag = "VideoConference",
|
Tag = "VideoConference",
|
||||||
@@ -191,7 +192,7 @@ namespace Microsoft.PowerToys.Settings.UI.OOBE.Views
|
|||||||
Description = loader.GetString("Oobe_VideoConference_Description"),
|
Description = loader.GetString("Oobe_VideoConference_Description"),
|
||||||
PreviewImageSource = "ms-appx:///Assets/Modules/OOBE/VideoConferenceMute.png",
|
PreviewImageSource = "ms-appx:///Assets/Modules/OOBE/VideoConferenceMute.png",
|
||||||
Link = "https://aka.ms/PowerToysOverview_VideoConference",
|
Link = "https://aka.ms/PowerToysOverview_VideoConference",
|
||||||
}); */
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClosing()
|
public void OnClosing()
|
||||||
|
|||||||
@@ -556,16 +556,13 @@
|
|||||||
<value>Settings theme</value>
|
<value>Settings theme</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PowerRename_Toggle_EnableOnContextMenu.Header" xml:space="preserve">
|
<data name="PowerRename_Toggle_EnableOnContextMenu.Header" xml:space="preserve">
|
||||||
<value>Show in default context menu's</value>
|
<value>Show icon on context menu</value>
|
||||||
</data>
|
|
||||||
<data name="PowerRename_Toggle_EnableOnContextMenu.Description" xml:space="preserve">
|
|
||||||
<value>PowerRename appears in the default context menu whenever you right-click one or multiple files</value>
|
|
||||||
</data>
|
</data>
|
||||||
<data name="PowerRename_Toggle_EnableOnExtendedContextMenu.Header" xml:space="preserve">
|
<data name="PowerRename_Toggle_EnableOnExtendedContextMenu.Header" xml:space="preserve">
|
||||||
<value>Show in extended context menu's</value>
|
<value>Appear only in extended context menu</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PowerRename_Toggle_EnableOnExtendedContextMenu.Description" xml:space="preserve">
|
<data name="PowerRename_Toggle_EnableOnExtendedContextMenu.Description" xml:space="preserve">
|
||||||
<value>PowerRename only appears in extended context menu's (press Shift + right-click)</value>
|
<value>Press Shift + right-click on files to open the extended menu</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve">
|
<data name="PowerRename_Toggle_MaxDispListNum.Header" xml:space="preserve">
|
||||||
<value>Maximum number of items</value>
|
<value>Maximum number of items</value>
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
</muxc:NavigationViewItem>
|
</muxc:NavigationViewItem>
|
||||||
|
|
||||||
<!--TODO(yuyoyuppe): uncomment when VCM should be enabled-->
|
<!--TODO(yuyoyuppe): uncomment when VCM should be enabled-->
|
||||||
<!--<muxc:NavigationViewItem x:Uid="Shell_VideoConference"
|
<muxc:NavigationViewItem x:Uid="Shell_VideoConference"
|
||||||
helpers:NavHelper.NavigateTo="views:VideoConferencePage"
|
helpers:NavHelper.NavigateTo="views:VideoConferencePage"
|
||||||
IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}"
|
IsEnabled="{x:Bind ViewModel.IsVideoConferenceBuild, Mode=OneWay}"
|
||||||
Margin="0,0,12,0">
|
Margin="0,0,12,0">
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsVideoConferenceMute.png"
|
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsVideoConferenceMute.png"
|
||||||
ShowAsMonochrome="False" />
|
ShowAsMonochrome="False" />
|
||||||
</muxc:NavigationViewItem.Icon>
|
</muxc:NavigationViewItem.Icon>
|
||||||
</muxc:NavigationViewItem>-->
|
</muxc:NavigationViewItem>
|
||||||
|
|
||||||
</muxc:NavigationView.MenuItems>
|
</muxc:NavigationView.MenuItems>
|
||||||
<muxc:NavigationView.PaneFooter>
|
<muxc:NavigationView.PaneFooter>
|
||||||
@@ -168,4 +168,4 @@
|
|||||||
<Frame x:Name="shellFrame" />
|
<Frame x:Name="shellFrame" />
|
||||||
</muxc:NavigationView>
|
</muxc:NavigationView>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user