mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Don't copy "Recorder-devices-setup.exe" and "ShareX_NativeMessagingHost.exe" on Windows Store job
This commit is contained in:
parent
378ae2125a
commit
bcef34014b
1 changed files with 9 additions and 5 deletions
|
@ -224,13 +224,17 @@ private static void CreateFolder(string source, string destination, SetupJobs jo
|
|||
|
||||
Helpers.CopyFiles(Path.Combine(ParentDir, "Licenses"), "*.txt", Path.Combine(destination, "Licenses"));
|
||||
|
||||
if (!File.Exists(RecorderDevicesSetupPath))
|
||||
if (job != SetupJobs.CreateWindowsStoreFolder && job != SetupJobs.CreateWindowsStoreDebugFolder)
|
||||
{
|
||||
CompileISSFile("Recorder-devices-setup.iss");
|
||||
}
|
||||
if (!File.Exists(RecorderDevicesSetupPath))
|
||||
{
|
||||
CompileISSFile("Recorder-devices-setup.iss");
|
||||
}
|
||||
|
||||
Helpers.CopyFile(RecorderDevicesSetupPath, destination);
|
||||
Helpers.CopyFile(Path.Combine(NativeMessagingHostDir, "ShareX_NativeMessagingHost.exe"), destination);
|
||||
Helpers.CopyFile(RecorderDevicesSetupPath, destination);
|
||||
|
||||
Helpers.CopyFile(Path.Combine(NativeMessagingHostDir, "ShareX_NativeMessagingHost.exe"), destination);
|
||||
}
|
||||
|
||||
string[] languages = new string[] { "de", "es", "fr", "hu", "ko-KR", "nl-NL", "pt-BR", "ru", "tr", "vi-VN", "zh-CN", "zh-TW" };
|
||||
|
||||
|
|
Loading…
Reference in a new issue