mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-26 02:34:05 +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();
|
||||
pipe.DataIn += pipe_DataIn;
|
||||
|
||||
Process process;
|
||||
|
||||
if ((process = Process.Start(new ProcessStartInfo {
|
||||
ProcessStartInfo startInfo = new ProcessStartInfo {
|
||||
FileName = Path.Combine(Program.ProgramPath, "TweetDuck.Video.exe"),
|
||||
Arguments = $"{owner.Handle} {(int) Math.Floor(100F * owner.GetDPIScale())} {Config.VideoPlayerVolume} \"{videoUrl}\" \"{pipe.GenerateToken()}\"",
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true
|
||||
})) != null) {
|
||||
};
|
||||
|
||||
Process process;
|
||||
if ((process = Process.Start(startInfo)) != null) {
|
||||
currentInstance = new Instance(process, pipe, videoUrl, tweetUrl, username);
|
||||
|
||||
process.EnableRaisingEvents = true;
|
||||
|
Loading…
Reference in New Issue
Block a user