Skip to content

Commit

Permalink
🚚
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaueriksson committed Apr 17, 2022
1 parent 71156c3 commit e003683
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/GEmojiSharp.PowerToysRun/GEmojiSharp.PowerToysRun.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
</ItemGroup>

<ItemGroup>
<None Update="images\gemojisharp.dark.png">
<None Update="Images\gemojisharp.dark.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="images\gemojisharp.light.png">
<None Update="Images\gemojisharp.light.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="plugin.json">
Expand Down
2 changes: 1 addition & 1 deletion src/GEmojiSharp.PowerToysRun/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private static bool CopyToClipboard(string value)
return true;
}

private void UpdateIconPath(Theme theme) => IconPath = theme == Theme.Light || theme == Theme.HighContrastWhite ? "images/gemojisharp.light.png" : "images/gemojisharp.dark.png";
private void UpdateIconPath(Theme theme) => IconPath = theme == Theme.Light || theme == Theme.HighContrastWhite ? "Images/gemojisharp.light.png" : "Images/gemojisharp.dark.png";

private void OnThemeChanged(Theme currentTheme, Theme newTheme) => UpdateIconPath(newTheme);
}
Expand Down
2 changes: 1 addition & 1 deletion src/GEmojiSharp.PowerToysRun/pack.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dotnet build -c Release /p:TF_BUILD=true
dotnet msbuild /t:ILMerge

xcopy /y .\bin\Release\net6.0-windows\images\ .\bin\Release\GEmojiSharp\images\
xcopy /y .\bin\Release\net6.0-windows\Images\ .\bin\Release\GEmojiSharp\Images\
xcopy /y .\bin\Release\net6.0-windows\GEmojiSharp.PowerToysRun.* .\bin\Release\GEmojiSharp\
xcopy /y .\bin\Release\net6.0-windows\plugin.json .\bin\Release\GEmojiSharp\

Expand Down
7 changes: 3 additions & 4 deletions src/GEmojiSharp.PowerToysRun/plugin.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"ID": "583D1696DC9B40C6BD7DCA116268630E",
"Disabled": false,
"ActionKeyword": "emoji",
"IsGlobal": false,
"Name": "GEmojiSharp",
"Author": "hlaueriksson",
"Version": "0.0.0",
"Language": "csharp",
"Website": "https://github.com/hlaueriksson/GEmojiSharp",
"ExecuteFileName": "GEmojiSharp.PowerToysRun.dll",
"IsGlobal": false,
"IcoPathDark": "images\\gemojisharp.dark.png",
"IcoPathLight": "images\\gemojisharp.light.png"
"IcoPathDark": "Images\\gemojisharp.dark.png",
"IcoPathLight": "Images\\gemojisharp.light.png"
}

0 comments on commit e003683

Please sign in to comment.