-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4feee02
commit 5802c9f
Showing
4 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters