Skip to content

Commit 7e37faa

Browse files
committed
Move icon and sounds to Res folder
1 parent de79bf4 commit 7e37faa

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

EnhancePoE/EnhancePoE.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<SignManifests>false</SignManifests>
6767
</PropertyGroup>
6868
<PropertyGroup>
69-
<ApplicationIcon>coin.ico</ApplicationIcon>
69+
<ApplicationIcon>Res\coin.ico</ApplicationIcon>
7070
</PropertyGroup>
7171
<PropertyGroup>
7272
<StartupObject>
@@ -317,13 +317,13 @@
317317
<None Include="Resources\password.ttf" />
318318
</ItemGroup>
319319
<ItemGroup>
320-
<None Include="coin.ico">
320+
<None Include="Res\coin.ico">
321321
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
322322
</None>
323323
<Resource Include="Assets\amulet.png" />
324324
<Resource Include="Assets\belt.png" />
325325
<Resource Include="Assets\ring.png" />
326-
<Content Include="Sounds\notificationSound.mp3">
326+
<Content Include="Res\notificationSound.mp3">
327327
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
328328
</Content>
329329
</ItemGroup>

EnhancePoE/View/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public MainWindow()
6868
}
6969
else
7070
{
71-
Data.Player.Open( new Uri( Path.Combine( Path.GetDirectoryName( Assembly.GetExecutingAssembly().Location ), @"Sounds\notificationSound.mp3" ) ) );
71+
Data.Player.Open( new Uri( Path.Combine( Path.GetDirectoryName( Assembly.GetExecutingAssembly().Location ), @"Res\notificationSound.mp3" ) ) );
7272
}
7373

7474
InitializeColors();
@@ -101,7 +101,7 @@ private void InitializeTray()
101101
var contextMenu = new System.Windows.Forms.ContextMenu();
102102
_ = contextMenu.MenuItems.Add( menuItem );
103103

104-
_trayIcon.Icon = new System.Drawing.Icon( "coin.ico" );
104+
_trayIcon.Icon = new System.Drawing.Icon( @"Res\coin.ico" );
105105
_trayIcon.Visible = true;
106106
_trayIcon.ContextMenu = contextMenu;
107107
_trayIcon.MouseClick += ( s, a ) =>

0 commit comments

Comments
 (0)