mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
On AppVeyor copy output files to parent folder
This commit is contained in:
parent
e289a6ee26
commit
d15867e9fe
1 changed files with 6 additions and 1 deletions
|
@ -71,7 +71,7 @@ private enum SetupJobs
|
||||||
private static string WindowsStoreDir => Path.Combine(BinDir, "WindowsStore");
|
private static string WindowsStoreDir => Path.Combine(BinDir, "WindowsStore");
|
||||||
private static string WindowsStoreDebugDir => Path.Combine(BinDir, "WindowsStoreDebug");
|
private static string WindowsStoreDebugDir => Path.Combine(BinDir, "WindowsStoreDebug");
|
||||||
|
|
||||||
private static string OutputDir => AppVeyor ? ParentDir : Path.Combine(ParentDir, "Output");
|
private static string OutputDir => Path.Combine(ParentDir, "Output");
|
||||||
private static string PortableOutputDir => Path.Combine(OutputDir, "ShareX-portable");
|
private static string PortableOutputDir => Path.Combine(OutputDir, "ShareX-portable");
|
||||||
private static string SteamOutputDir => Path.Combine(OutputDir, "ShareX-Steam");
|
private static string SteamOutputDir => Path.Combine(OutputDir, "ShareX-Steam");
|
||||||
private static string WindowsStoreOutputDir => Path.Combine(OutputDir, "ShareX-WindowsStore");
|
private static string WindowsStoreOutputDir => Path.Combine(OutputDir, "ShareX-WindowsStore");
|
||||||
|
@ -160,6 +160,11 @@ private static void Main(string[] args)
|
||||||
CreateFolder(ReleaseDir, PortableAppsOutputDir, SetupJobs.CreatePortableAppsFolder);
|
CreateFolder(ReleaseDir, PortableAppsOutputDir, SetupJobs.CreatePortableAppsFolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (AppVeyor)
|
||||||
|
{
|
||||||
|
Helpers.CopyAll(OutputDir, ParentDir);
|
||||||
|
}
|
||||||
|
|
||||||
if (Job.HasFlag(SetupJobs.OpenOutputDirectory))
|
if (Job.HasFlag(SetupJobs.OpenOutputDirectory))
|
||||||
{
|
{
|
||||||
OpenOutputDirectory();
|
OpenOutputDirectory();
|
||||||
|
|
Loading…
Reference in a new issue