Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BearOffice committed Nov 13, 2021
1 parent 4feee02 commit 5802c9f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
Binary file not shown.
7 changes: 3 additions & 4 deletions OpenChrome/OpenChrome.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ApplicationIcon>Chrome.ico</ApplicationIcon>
<NoWin32Manifest>true</NoWin32Manifest>
<Version>1.0.1</Version>
</PropertyGroup>

<ItemGroup>
<Reference Include="ConfReaderLib">
<HintPath>ConfReaderLib.dll</HintPath>
</Reference>
<PackageReference Include="ConfigReadingLib" Version="2.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions OpenChrome/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
using System.Diagnostics;
using ConfReaderLib;
using ConfigReadingLib;

// Chrome Icon Artist: firstfear(firstfear.deviantart.com)

try
{
var conf = new ConfReader(new[] { "program path", "instance path" }, "Path.txt");
var programpath = conf.GetConf("program path");
var instancepath = conf.GetConf("instance path");
var reader = new ConfigReader("Path.txt");
var programpath = reader.GetValue("program path");
var instancepath = reader.GetValue("instance path");
Process.Start(programpath, $"--user-data-dir=\"{instancepath}\"");
}
catch { }
4 changes: 2 additions & 2 deletions OpenChrome/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net5.0\publish\</PublishDir>
<PublishDir>bin\Release\net6.0\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
Expand Down

0 comments on commit 5802c9f

Please sign in to comment.