Skip to content

Commit

Permalink
Merge pull request #1082 from vktr/feature/new-application-and-file-icon
Browse files Browse the repository at this point in the history
Add new application and file type icon
  • Loading branch information
vktr committed Dec 27, 2020
2 parents 858ccc0 + 058b53c commit 6ac0b78
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packaging/WiX/PicoTorrent.Components.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<RegistryValue Type="string" Value="PicoTorrent BitTorrent file" />

<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="[INSTALLDIR]PicoTorrent.exe,0" />
<RegistryValue Type="string" Value="[INSTALLDIR]PicoTorrent.exe,1" />
</RegistryKey>

<RegistryKey Key="shell\open\command">
Expand Down
Binary file modified res/app.ico
Binary file not shown.
Binary file removed res/app.png
Binary file not shown.
Binary file added res/file.ico
Binary file not shown.
Binary file removed res/logo150.png
Binary file not shown.
Binary file removed res/logo44.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/installer/PicoTorrentBootstrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\logo.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\discord.png" />
<Resource Include="Resources\github.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\logo.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Binary file modified src/installer/Resources/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/picotorrent/resources.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "version.h"

AppIcon ICON "..\\..\\res\\app.ico"
FileIcon ICON "..\\..\\res\\file.ico"

// Icons
ICO_TERMINAL ICON "..\\..\\res\\terminal.ico"
Expand Down

0 comments on commit 6ac0b78

Please sign in to comment.