Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Feb 9, 2023
2 parents e71a752 + 831ace8 commit c0a9d0b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions DiscordWebook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public DiscordWebhook()

public void SendMessage(string msgSend)
{
discordValues.Add("username", UserName);
discordValues.Add("avatar_url", ProfilePicture);
//discordValues.Add("username", UserName);
//discordValues.Add("avatar_url", ProfilePicture);
discordValues.Remove("content");
discordValues.Add("content", msgSend);

Expand Down
2 changes: 1 addition & 1 deletion ServerLogWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void RefreshLogText()
}
prevExtentHeight = txtLog.ExtentHeight;
}
catch (IOException ex)
catch (IOException)
{
retryTimer.Interval = retryInterval;
retryTimer.Enabled = true;
Expand Down
2 changes: 1 addition & 1 deletion SteamCMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e)
writer.WriteLine(msg);
writer.Close();
}
catch (Exception ex)
catch (Exception)
{
//not being able to clear the log is not a major problem
}
Expand Down
2 changes: 1 addition & 1 deletion ValheimServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e)
writer.WriteLine(msg);
writer.Close();
}
catch (Exception ex)
catch (Exception)
{
//not being able to clear the log is not a major problem
}
Expand Down
8 changes: 4 additions & 4 deletions ValheimServerWarden.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<StartupObject>ValheimServerWarden.App</StartupObject>
<Version>0.4.20</Version>
<AssemblyVersion>0.4.20.0</AssemblyVersion>
<Version>0.4.21</Version>
<AssemblyVersion>0.4.21.0</AssemblyVersion>
<Product>ValheimServerWarden</Product>
<Authors>Razzmatazz</Authors>
<ApplicationIcon>Resources\vsw2.ico</ApplicationIcon>
<PackageId>ValheimServerWarden</PackageId>
<AssemblyName>Valheim Server Warden</AssemblyName>
<FileVersion>0.4.20.0</FileVersion>
<FileVersion>0.4.21.0</FileVersion>
<Company>ValheimServerWarden</Company>
</PropertyGroup>

Expand Down Expand Up @@ -127,6 +127,6 @@
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy &quot;$(TargetDir)Valheim Server Warden.runtimeconfig.json&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.exe&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)ModernWpf.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)HtmlAgilityPack.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;if $(ConfigurationName) == Release &quot;C:\Program Files\7-Zip\7z.exe&quot; a %25userprofile%25\Desktop\vsw.zip &quot;$(TargetDir)app.publish\*&quot;" />
<Exec Command="if not exist &quot;$(TargetDir)app.publish\&quot; mkdir &quot;$(TargetDir)\app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.runtimeconfig.json&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.exe&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)ModernWpf.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)HtmlAgilityPack.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;if $(ConfigurationName) == Release &quot;C:\Program Files\7-Zip\7z.exe&quot; a %25userprofile%25\Desktop\vsw.zip &quot;$(TargetDir)app.publish\*&quot;" />
</Target>
</Project>

0 comments on commit c0a9d0b

Please sign in to comment.