mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-24 05:34:06 +02:00
Cleanup browser subprocess path code
This commit is contained in:
parent
e70d792654
commit
c64f7daa8d
@ -19,8 +19,6 @@ static class Program{
|
||||
public const string BrandName = "TweetDuck";
|
||||
public const string Website = "https://tweetduck.chylex.com";
|
||||
|
||||
public const string BrowserSubprocess = BrandName+".Browser.exe";
|
||||
|
||||
public const string VersionTag = "1.5";
|
||||
public const string VersionFull = "1.5.0.0";
|
||||
|
||||
@ -115,9 +113,9 @@ private static void Main(){
|
||||
UserAgent = BrowserUtils.HeaderUserAgent,
|
||||
Locale = Args.GetValue("-locale", "en"),
|
||||
CachePath = StoragePath,
|
||||
BrowserSubprocessPath = File.Exists(BrowserSubprocess) ? BrowserSubprocess : "CefSharp.BrowserSubprocess.exe",
|
||||
LogFile = Path.Combine(StoragePath, "TD_Console.txt"),
|
||||
#if !DEBUG
|
||||
BrowserSubprocessPath = BrandName+".Browser.exe",
|
||||
LogSeverity = Args.HasFlag("-log") ? LogSeverity.Info : LogSeverity.Disable
|
||||
#endif
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user