mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Added MakeAppxPathAppVeyor
This commit is contained in:
parent
b9be7c974e
commit
06e9cf9b78
1 changed files with 2 additions and 1 deletions
|
@ -89,6 +89,7 @@ private enum SetupJobs
|
||||||
|
|
||||||
private const string InnoSetupCompilerPath = @"C:\Program Files (x86)\Inno Setup 6\ISCC.exe";
|
private const string InnoSetupCompilerPath = @"C:\Program Files (x86)\Inno Setup 6\ISCC.exe";
|
||||||
private const string MakeAppxPath = @"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\makeappx.exe";
|
private const string MakeAppxPath = @"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\makeappx.exe";
|
||||||
|
private const string MakeAppxPathAppVeyor = @"C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\makeappx.exe";
|
||||||
private const string FFmpegDownloadURL = "https://github.com/ShareX/FFmpeg/releases/download/v5.1/ffmpeg-5.1-win64.zip";
|
private const string FFmpegDownloadURL = "https://github.com/ShareX/FFmpeg/releases/download/v5.1/ffmpeg-5.1-win64.zip";
|
||||||
|
|
||||||
private static void Main(string[] args)
|
private static void Main(string[] args)
|
||||||
|
@ -286,7 +287,7 @@ private static void CompileAppx()
|
||||||
{
|
{
|
||||||
ProcessStartInfo psi = new ProcessStartInfo()
|
ProcessStartInfo psi = new ProcessStartInfo()
|
||||||
{
|
{
|
||||||
FileName = MakeAppxPath,
|
FileName = AppVeyor ? MakeAppxPathAppVeyor : MakeAppxPath,
|
||||||
Arguments = $"pack /d \"{MicrosoftStoreOutputDir}\" /p \"{MicrosoftStoreAppxPath}\" /l /o",
|
Arguments = $"pack /d \"{MicrosoftStoreOutputDir}\" /p \"{MicrosoftStoreAppxPath}\" /l /o",
|
||||||
UseShellExecute = false
|
UseShellExecute = false
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue