mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-06-17 06:40:01 +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 BrandName = "TweetDuck";
|
||||||
public const string Website = "https://tweetduck.chylex.com";
|
public const string Website = "https://tweetduck.chylex.com";
|
||||||
|
|
||||||
public const string BrowserSubprocess = BrandName+".Browser.exe";
|
|
||||||
|
|
||||||
public const string VersionTag = "1.5";
|
public const string VersionTag = "1.5";
|
||||||
public const string VersionFull = "1.5.0.0";
|
public const string VersionFull = "1.5.0.0";
|
||||||
|
|
||||||
@ -115,9 +113,9 @@ private static void Main(){
|
|||||||
UserAgent = BrowserUtils.HeaderUserAgent,
|
UserAgent = BrowserUtils.HeaderUserAgent,
|
||||||
Locale = Args.GetValue("-locale", "en"),
|
Locale = Args.GetValue("-locale", "en"),
|
||||||
CachePath = StoragePath,
|
CachePath = StoragePath,
|
||||||
BrowserSubprocessPath = File.Exists(BrowserSubprocess) ? BrowserSubprocess : "CefSharp.BrowserSubprocess.exe",
|
|
||||||
LogFile = Path.Combine(StoragePath, "TD_Console.txt"),
|
LogFile = Path.Combine(StoragePath, "TD_Console.txt"),
|
||||||
#if !DEBUG
|
#if !DEBUG
|
||||||
|
BrowserSubprocessPath = BrandName+".Browser.exe",
|
||||||
LogSeverity = Args.HasFlag("-log") ? LogSeverity.Info : LogSeverity.Disable
|
LogSeverity = Args.HasFlag("-log") ? LogSeverity.Info : LogSeverity.Disable
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user