-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8e3492
commit 0a15e97
Showing
20 changed files
with
489 additions
and
468 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
$ErrorActionPreference = "Stop" | ||
|
||
$projectDirectory = "$PSScriptRoot\Community.PowerToys.Run.Plugin.CurrencyConverter" | ||
[xml]$xml = Get-Content -Path "$projectDirectory\Community.PowerToys.Run.Plugin.CurrencyConverter.csproj" | ||
$version = $xml.Project.PropertyGroup.Version | ||
$version = "$version".Trim() | ||
|
||
foreach ($platform in "x64", "ARM64") | ||
{ | ||
if (Test-Path -Path "$projectDirectory\bin") | ||
{ | ||
Remove-Item -Path "$projectDirectory\bin\*" -Recurse | ||
} | ||
|
||
if (Test-Path -Path "$projectDirectory\obj") | ||
{ | ||
Remove-Item -Path "$projectDirectory\obj\*" -Recurse | ||
} | ||
|
||
dotnet build $projectDirectory.sln -c Release /p:Platform=$platform | ||
|
||
Remove-Item -Path "$projectDirectory\bin\*" -Recurse -Include *.xml, *.pdb, PowerToys.*, Wox.* | ||
Rename-Item -Path "$projectDirectory\bin\$platform\Release" -NewName "CurrencyConverter" | ||
|
||
Compress-Archive -Path "$projectDirectory\bin\$platform\CurrencyConverter" -DestinationPath "$PSScriptRoot\CurrencyConverter-$version-$platform.zip" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.8.34408.163 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Community.PowerToys.Run.Plugin.CurrencyConverter", "Community.PowerToys.Run.Plugin.CurrencyConverter\Community.PowerToys.Run.Plugin.CurrencyConverter.csproj", "{7875DA56-4FE0-4857-87D7-31449500637A}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|ARM64 = Debug|ARM64 | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|ARM64 = Release|ARM64 | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|x64.ActiveCfg = Debug|x64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|x64.Build.0 = Debug|x64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|ARM64.Build.0 = Release|ARM64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|x64.ActiveCfg = Release|x64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|x64.Build.0 = Release|x64 | ||
{7875DA56-4FE0-4857-87D7-31449500637A}.Release|x86.ActiveCfg = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {E4749FD8-991C-4A8D-B643-2990ED0A790D} | ||
EndGlobalSection | ||
EndGlobal |
44 changes: 44 additions & 0 deletions
44
...Toys.Run.Plugin.CurrencyConverter/Community.PowerToys.Run.Plugin.CurrencyConverter.csproj
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<UseWPF>true</UseWPF> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<RootNamespace>Community.PowerToys.Run.Plugin.CurrencyConverter</RootNamespace> | ||
<AssemblyName>Community.PowerToys.Run.Plugin.CurrencyConverter</AssemblyName> | ||
<Version>1.0.2</Version> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> | ||
<Platforms>AnyCPU;x64;ARM64</Platforms> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(Platform)' == 'x64'"> | ||
<Reference Include="libs\x64\PowerToys.Common.UI.dll" /> | ||
<Reference Include="libs\x64\PowerToys.ManagedCommon.dll" /> | ||
<Reference Include="libs\x64\PowerToys.Settings.UI.Lib.dll" /> | ||
<Reference Include="libs\x64\Wox.Infrastructure.dll" /> | ||
<Reference Include="libs\x64\Wox.Plugin.dll" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(Platform)' == 'ARM64'"> | ||
<Reference Include="libs\ARM64\PowerToys.Common.UI.dll" /> | ||
<Reference Include="libs\ARM64\PowerToys.ManagedCommon.dll" /> | ||
<Reference Include="libs\ARM64\PowerToys.Settings.UI.Lib.dll" /> | ||
<Reference Include="libs\ARM64\Wox.Infrastructure.dll" /> | ||
<Reference Include="libs\ARM64\Wox.Plugin.dll" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="images\icon-black.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="images\icon-white.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="plugin.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
</Project> |
Binary file added
BIN
+21.4 KB
Community.PowerToys.Run.Plugin.CurrencyConverter/Libs/ARM64/PowerToys.Common.UI.dll
Binary file not shown.
Binary file added
BIN
+40 KB
Community.PowerToys.Run.Plugin.CurrencyConverter/Libs/ARM64/PowerToys.ManagedCommon.dll
Binary file not shown.
Binary file added
BIN
+222 KB
Community.PowerToys.Run.Plugin.CurrencyConverter/Libs/ARM64/PowerToys.Settings.UI.Lib.dll
Binary file not shown.
Binary file added
BIN
+79.4 KB
Community.PowerToys.Run.Plugin.CurrencyConverter/Libs/ARM64/Wox.Infrastructure.dll
Binary file not shown.
Binary file added
BIN
+84.5 KB
Community.PowerToys.Run.Plugin.CurrencyConverter/Libs/ARM64/Wox.Plugin.dll
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes
File renamed without changes
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 was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
PowerToysRunCurrencyConverter/PowerToysRunCurrencyConverter.csproj
This file was deleted.
Oops, something went wrong.
Fixes #1