mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-28 23:42:13 +12:00
Code refactoring
This commit is contained in:
parent
cb818b0654
commit
db9879ede3
1 changed files with 2 additions and 5 deletions
|
@ -285,18 +285,15 @@ private static void CompileAppx()
|
|||
{
|
||||
FileName = MakeAppxPath,
|
||||
Arguments = $"pack /d \"{MicrosoftStoreOutputDir}\" /p \"{MicrosoftStoreAppxPath}\" /l /o",
|
||||
UseShellExecute = false,
|
||||
RedirectStandardOutput = true
|
||||
UseShellExecute = false
|
||||
};
|
||||
|
||||
process.OutputDataReceived += (s, e) => Console.WriteLine(e.Data);
|
||||
process.StartInfo = psi;
|
||||
process.Start();
|
||||
process.BeginOutputReadLine();
|
||||
process.WaitForExit();
|
||||
}
|
||||
|
||||
Console.WriteLine("Appx file compiled.");
|
||||
Console.WriteLine("Appx file compiled: " + MicrosoftStoreAppxPath);
|
||||
|
||||
CreateChecksumFile(MicrosoftStoreAppxPath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue