Inno update for languages

This commit is contained in:
Jaex 2015-01-04 18:53:04 +02:00
parent bfb0107368
commit 26cda22313
3 changed files with 10 additions and 4 deletions

View File

@ -69,7 +69,8 @@ Source: "{#MyAppParentDir}\*.txt"; DestDir: {app}; Flags: ignoreversion
; Language resources
Source: "{#MyAppParentDir}\tr\*.resources.dll"; DestDir: {app}\Languages\tr; Flags: ignoreversion
;Source: "{#MyAppParentDir}\de\*.resources.dll"; DestDir: {app}\Languages\de; Flags: ignoreversion
Source: "{#MyAppParentDir}\de\*.resources.dll"; DestDir: {app}\Languages\de; Flags: ignoreversion
Source: "{#MyAppParentDir}\fr\*.resources.dll"; DestDir: {app}\Languages\fr; Flags: ignoreversion
; Required for screen/audio recording
Source: "..\Lib\screen-capture-recorder.dll"; DestDir: {app}; Flags: regserver 32bit; Check: IsAdminLoggedOn and not IsWin64

View File

@ -41,7 +41,7 @@ namespace ShareX.Setup
Beta // Build setup + upload it using "Debug/ShareX.exe"
}
private const SetupType Setup = SetupType.Stable;
private const SetupType Setup = SetupType.Beta;
private static string parentDir = @"..\..\..\";
private static string binDir = Path.Combine(parentDir, @"ShareX\bin");
@ -122,7 +122,12 @@ namespace ShareX.Setup
CopyFiles(files, portableDir);
CopyFiles(Path.Combine(releaseDir, @"tr\*.resources.dll"), Path.Combine(portableDir, @"Languages\tr"));
string[] languages = new string[] { "tr", "de", "fr" };
foreach (string language in languages)
{
CopyFiles(Path.Combine(releaseDir, language + "\\*.resources.dll"), Path.Combine(portableDir, "Languages\\" + language));
}
File.WriteAllText(Path.Combine(portableDir, "PersonalPath.cfg"), "ShareX", Encoding.UTF8);

View File

@ -39,7 +39,7 @@ namespace ShareX
{
internal static class Program
{
public static bool IsBeta = false;
public static bool IsBeta = true;
public static string Title
{