mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
Copy stickers folder in setup script
This commit is contained in:
parent
4519630950
commit
a4744ce0bf
2 changed files with 4 additions and 1 deletions
|
@ -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]
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue