Code refactoring

This commit is contained in:
Jaex 2022-11-04 21:30:39 +03:00
parent cb818b0654
commit db9879ede3

View file

@ -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);
}