mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-06-11 05:34:06 +02:00
Fix source code indentation problems
This commit is contained in:
parent
d9782f554f
commit
b18cd2658c
Management
@ -37,14 +37,15 @@ public void Launch(string videoUrl, string tweetUrl, string username) {
|
|||||||
DuplexPipe.Server pipe = DuplexPipe.CreateServer();
|
DuplexPipe.Server pipe = DuplexPipe.CreateServer();
|
||||||
pipe.DataIn += pipe_DataIn;
|
pipe.DataIn += pipe_DataIn;
|
||||||
|
|
||||||
Process process;
|
ProcessStartInfo startInfo = new ProcessStartInfo {
|
||||||
|
|
||||||
if ((process = Process.Start(new ProcessStartInfo {
|
|
||||||
FileName = Path.Combine(Program.ProgramPath, "TweetDuck.Video.exe"),
|
FileName = Path.Combine(Program.ProgramPath, "TweetDuck.Video.exe"),
|
||||||
Arguments = $"{owner.Handle} {(int) Math.Floor(100F * owner.GetDPIScale())} {Config.VideoPlayerVolume} \"{videoUrl}\" \"{pipe.GenerateToken()}\"",
|
Arguments = $"{owner.Handle} {(int) Math.Floor(100F * owner.GetDPIScale())} {Config.VideoPlayerVolume} \"{videoUrl}\" \"{pipe.GenerateToken()}\"",
|
||||||
UseShellExecute = false,
|
UseShellExecute = false,
|
||||||
RedirectStandardOutput = true
|
RedirectStandardOutput = true
|
||||||
})) != null) {
|
};
|
||||||
|
|
||||||
|
Process process;
|
||||||
|
if ((process = Process.Start(startInfo)) != null) {
|
||||||
currentInstance = new Instance(process, pipe, videoUrl, tweetUrl, username);
|
currentInstance = new Instance(process, pipe, videoUrl, tweetUrl, username);
|
||||||
|
|
||||||
process.EnableRaisingEvents = true;
|
process.EnableRaisingEvents = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user