Copy stickers folder in setup script

This commit is contained in:
Jaex 2018-03-16 22:58:25 +03:00
parent 4519630950
commit a4744ce0bf
2 changed files with 4 additions and 1 deletions

View file

@ -76,6 +76,7 @@ Source: "{#MyAppReleaseDirectory}\tr\*.resources.dll"; DestDir: {app}\Languages\
Source: "{#MyAppReleaseDirectory}\vi-VN\*.resources.dll"; DestDir: {app}\Languages\vi-VN; Flags: ignoreversion
Source: "{#MyAppReleaseDirectory}\zh-CN\*.resources.dll"; DestDir: {app}\Languages\zh-CN; Flags: ignoreversion
Source: "{#MyAppReleaseDirectory}\zh-TW\*.resources.dll"; DestDir: {app}\Languages\zh-TW; Flags: ignoreversion
Source: "{#MyAppRootDirectory}\ShareX.ScreenCaptureLib\Stickers\*"; DestDir: {app}\Stickers; Flags: ignoreversion recursesubdirs
Source: "puush"; DestDir: {app}; Check: IsPuushMode
[Icons]

View file

@ -61,7 +61,7 @@ private enum SetupJobs
AppVeyorWindowsStore = CreateWindowsStoreFolder | CompileAppx
}
private static SetupJobs Job = SetupJobs.WindowsStore;
private static SetupJobs Job = SetupJobs.Stable;
private static bool AppVeyor = false;
private static string ParentDir => AppVeyor ? "." : @"..\..\..\";
@ -265,6 +265,8 @@ private static void CreateFolder(string source, string destination, SetupJobs jo
SetupHelpers.CopyFiles(Path.Combine(source, language), "*.resources.dll", Path.Combine(destination, "Languages", language));
}
Helpers.CopyAll(Path.Combine(ParentDir, @"ShareX.ScreenCaptureLib\Stickers"), Path.Combine(destination, "Stickers"));
if (job == SetupJobs.CreateSteamFolder)
{
CopyFFmpeg(destination, true, true);