mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
cecb65cd40
* Add handling of portable mode when updating Additionally: 1. Changed getting version from internally rather than from RELEASES file 2. Added PortableDataPath as a constant so can be used to determine if portable mode is used * Fix incorrectly wired auto update event handler * Fix Sys plugin missing Shutdown command icon * Add check update command to Sys plugin * Add message if current Wox version is latest * Add default silent when auto checking updates in background Silent when current is still the latest version * Move UserData folder to new version location * Changes per review 1. Move IsPortableMode to Constant 2. Merge if statement * Per comment- change variables to be more descriptive UpdateInfo and UpdateManager renamed * Per comment- Add exception handling and message if failed.
110 lines
4.5 KiB
XML
110 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Wox.Plugin</RootNamespace>
|
|
<AssemblyName>Wox.Plugin</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<TargetFrameworkProfile />
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>..\Output\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\Output\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="WindowsBase" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\SolutionAssemblyInfo.cs">
|
|
<Link>Properties\SolutionAssemblyInfo.cs</Link>
|
|
</Compile>
|
|
<Compile Include="AllowedLanguage.cs" />
|
|
<Compile Include="BaseModel.cs" />
|
|
<Compile Include="EventHandler.cs" />
|
|
<Compile Include="Feature.cs" />
|
|
<Compile Include="Features\IContextMenu.cs" />
|
|
<Compile Include="Features\IExclusiveQuery.cs" />
|
|
<Compile Include="Features\IInstantQuery.cs" />
|
|
<Compile Include="Interfaces\IReloadable.cs" />
|
|
<Compile Include="IPlugin.cs" />
|
|
<Compile Include="IPublicAPI.cs" />
|
|
<Compile Include="ISettingProvider.cs" />
|
|
<Compile Include="PluginPair.cs" />
|
|
<Compile Include="PluginInitContext.cs" />
|
|
<Compile Include="PluginMetadata.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Query.cs" />
|
|
<Compile Include="Result.cs" />
|
|
<Compile Include="ActionContext.cs" />
|
|
<Compile Include="SharedCommands\FilesFolders.cs" />
|
|
<Compile Include="SharedCommands\SearchWeb.cs" />
|
|
<Compile Include="SharedCommands\ShellCommand.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="README.md" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="FodyWeavers.xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Fody">
|
|
<Version>1.29.2</Version>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="JetBrains.Annotations">
|
|
<Version>10.3.0</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Mono.Cecil">
|
|
<Version>0.9.6.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json">
|
|
<Version>9.0.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="PropertyChanged.Fody">
|
|
<Version>1.51.0</Version>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Runtime">
|
|
<Version>4.0.0</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project> |