From f87dbdd2fd49e17d9ac0b4c7e38c40aa5fc68126 Mon Sep 17 00:00:00 2001 From: 8LWXpg <105704427+8LWXpg@users.noreply.github.com> Date: Fri, 27 Dec 2024 16:14:36 +0800 Subject: [PATCH] bump --- HackMD/HackMD.csproj | 125 ++++++++++++++++++++++--------------------- HackMD/debug.ps1 | 2 +- HackMD/plugin.json | 24 ++++----- HackMD/release.ps1 | 2 +- 4 files changed, 77 insertions(+), 76 deletions(-) diff --git a/HackMD/HackMD.csproj b/HackMD/HackMD.csproj index 7d07f19..b2fb9ef 100644 --- a/HackMD/HackMD.csproj +++ b/HackMD/HackMD.csproj @@ -1,70 +1,71 @@ - - net8.0-windows - true - enable - enable - Community.PowerToys.Run.Plugin.HackMD - Community.PowerToys.Run.Plugin.HackMD - $([System.Text.RegularExpressions.Regex]::Match([System.IO.File]::ReadAllText('.\plugin.json'), '"Version": "(\S+)"').Groups[1].Value) - x64;ARM64 - PowerToys Run HackMD plugin - PowerToys Run HackMD plugin - 8LWXpg - https://github.com/8LWXpg/PowerToysRun-HackMD - + + net9.0-windows + true + enable + enable + Community.PowerToys.Run.Plugin.HackMD + Community.PowerToys.Run.Plugin.HackMD + $([System.IO.File]::ReadAllText('$(MSBuildProjectDirectory)/plugin.json')) + $([System.Text.RegularExpressions.Regex]::Match($(PluginJson), '"Version": "(\S+)"').Groups[1].Value) + x64;ARM64 + PowerToys Run HackMD plugin + PowerToys Run HackMD plugin + 8LWXpg + https://github.com/8LWXpg/PowerToysRun-HackMD + - - true - DEBUG;TRACE - full - false - + + true + DEBUG;TRACE + full + false + - - TRACE - true - pdbonly - + + TRACE + true + pdbonly + - - - .\Lib\PowerToys.Common.UI.dll - - - .\Lib\PowerToys.ManagedCommon.dll - - - .\Lib\PowerToys.Settings.UI.Lib.dll - - - .\Lib\Wox.Infrastructure.dll - - - .\Lib\Wox.Plugin.dll - - + + + .\Lib\PowerToys.Common.UI.dll + + + .\Lib\PowerToys.ManagedCommon.dll + + + .\Lib\PowerToys.Settings.UI.Lib.dll + + + .\Lib\Wox.Infrastructure.dll + + + .\Lib\Wox.Plugin.dll + + - - - ResXFileCodeGenerator - Resources.Designer.cs - - - True - True - Resources.resx - - + + + ResXFileCodeGenerator + Resources.Designer.cs + + + True + True + Resources.resx + + - - - PreserveNewest - - - - PreserveNewest - - + + + PreserveNewest + + + + PreserveNewest + + diff --git a/HackMD/debug.ps1 b/HackMD/debug.ps1 index 8f19ac7..e476192 100644 --- a/HackMD/debug.ps1 +++ b/HackMD/debug.ps1 @@ -10,7 +10,7 @@ sudo { $ptPath = 'C:\Program Files\PowerToys' $projectName = 'HackMD' $safeProjectName = 'HackMD' - $debug = '.\bin\x64\Debug\net8.0-windows' + $debug = '.\bin\x64\Debug\net9.0-windows' $dest = "$env:LOCALAPPDATA\Microsoft\PowerToys\PowerToys Run\Plugins\$projectName" $files = @( "Community.PowerToys.Run.Plugin.$safeProjectName.deps.json", diff --git a/HackMD/plugin.json b/HackMD/plugin.json index 523a588..23e215c 100644 --- a/HackMD/plugin.json +++ b/HackMD/plugin.json @@ -1,14 +1,14 @@ { - "ID": "7ce12aff470442158be4b7c5d02ef63e", - "ActionKeyword": "hm", - "Disabled": false, - "IsGlobal": false, - "Name": "HackMD", - "Author": "8LWXpg", - "Version": "1.1.0", - "Language": "csharp", - "Website": "https://github.com/8LWXpg/PowerToysRun-HackMD", - "ExecuteFileName": "Community.PowerToys.Run.Plugin.HackMD.dll", - "IcoPathDark": "Images\\HackMD.dark.png", - "IcoPathLight": "Images\\HackMD.light.png" + "ID": "7ce12aff470442158be4b7c5d02ef63e", + "ActionKeyword": "hm", + "Disabled": false, + "IsGlobal": false, + "Name": "HackMD", + "Author": "8LWXpg", + "Version": "1.2.0", + "Language": "csharp", + "Website": "https://github.com/8LWXpg/PowerToysRun-HackMD", + "ExecuteFileName": "Community.PowerToys.Run.Plugin.HackMD.dll", + "IcoPathDark": "Images\\HackMD.dark.png", + "IcoPathLight": "Images\\HackMD.light.png" } \ No newline at end of file diff --git a/HackMD/release.ps1 b/HackMD/release.ps1 index 5eca7cf..eab2995 100644 --- a/HackMD/release.ps1 +++ b/HackMD/release.ps1 @@ -12,7 +12,7 @@ git push --tags Remove-Item ./out/*.zip -Recurse -Force -ErrorAction Ignore foreach ($arch in $archs) { - $releasePath = "./bin/$arch/Release/net8.0-windows" + $releasePath = "./bin/$arch/Release/net9.0-windows" dotnet build -c Release /p:Platform=$arch