Skip to content

Commit

Permalink
- Fixed bug when launching a server that launched with 0.0.0.0 ip
Browse files Browse the repository at this point in the history
- Added icon
- Removed unused projects
  • Loading branch information
Pablo Bernal Modino committed Dec 19, 2018
1 parent 4550582 commit 969d1a1
Show file tree
Hide file tree
Showing 15 changed files with 707 additions and 451 deletions.
11 changes: 11 additions & 0 deletions LanPlayGui/LanPlayGui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@
<Prefer32Bit>true</Prefer32Bit>
<PcapPath>..\packages\Pcap.Net.x86.1.0.4.1\lib\net45</PcapPath>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>LanPlayGui.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="FontAwesome.Sharp, Version=5.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\FontAwesome.Sharp.5.2.0\lib\net40\FontAwesome.Sharp.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
Expand All @@ -93,8 +99,11 @@
<Reference Include="PcapDotNet.Packets">
<HintPath>$(PcapPath)\PcapDotNet.Packets.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
Expand All @@ -104,6 +113,7 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Extensions\ControlExtensions.cs" />
Expand Down Expand Up @@ -156,6 +166,7 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="LanPlayGui.ico" />
<Content Include="serverlist.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down
Binary file added LanPlayGui/LanPlayGui.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions LanPlayGui/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions LanPlayGui/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
using System.Threading.Tasks;
using System.Windows.Forms;
using LanPlayGui.Extensions;
using FontAwesome.Sharp;
using System.IO;

namespace LanPlayGui
{
Expand Down
690 changes: 690 additions & 0 deletions LanPlayGui/MainForm.resx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion LanPlayGui/Service/LanPlayService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class LanPlayService

public void Start(ILanPlayServer server, string interfaceName)
{
lanPlayProcess = Process.Start(executableName, $"--relay-server-addr {server.Uri.AbsoluteUri} --netif {interfaceName}");
lanPlayProcess = Process.Start(executableName, $"--relay-server-addr {server.Uri.Host}:{server.Uri.Port} --netif {interfaceName}");
lanPlayProcess.EnableRaisingEvents = true;
lanPlayProcess.Exited += LanPlayProcess_Exited;
}
Expand Down
1 change: 1 addition & 0 deletions LanPlayGui/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FontAwesome.Sharp" version="5.2.0" targetFramework="net461" />
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net461" />
<package id="Pcap.Net.x64" version="1.0.4.1" targetFramework="net461" />
<package id="Pcap.Net.x86" version="1.0.4.1" targetFramework="net461" />
Expand Down
36 changes: 0 additions & 36 deletions SyncBindingListLib/Properties/AssemblyInfo.cs

This file was deleted.

51 changes: 0 additions & 51 deletions SyncBindingListLib/SyncBindingListLib.csproj

This file was deleted.

31 changes: 0 additions & 31 deletions SyncBindingListLib/SyncBindingSource.cs

This file was deleted.

36 changes: 0 additions & 36 deletions SyncBindingSourceLib/Properties/AssemblyInfo.cs

This file was deleted.

36 changes: 0 additions & 36 deletions SyncBindingSourceLib/SyncBindingSource.Designer.cs

This file was deleted.

44 changes: 0 additions & 44 deletions SyncBindingSourceLib/SyncBindingSource.cs

This file was deleted.

Loading

0 comments on commit 969d1a1

Please sign in to comment.