Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Release 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
chylex committed Aug 17, 2018
1 parent 7836d61 commit 65d56b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static class Program{
public const string BrandName = "TweetDuck";
public const string Website = "https://tweetduck.chylex.com";

public const string VersionTag = "1.15.2";
public const string VersionTag = "1.16";

public static readonly string ProgramPath = AppDomain.CurrentDomain.BaseDirectory;
public static readonly bool IsPortable = File.Exists(Path.Combine(ProgramPath, "makeportable"));
Expand Down
9 changes: 9 additions & 0 deletions bld/gen_upd.iss
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,19 @@ begin
end;
{ Return whether the version of the installed libcef.dll library matches internal one. }
{ TODO: Remove workaround that forces full installation for 1.15 and older eventually. }
function TDIsMatchingCEFVersion: Boolean;
var CEFVersion: String;
var TDVersionMS: Cardinal;
var TDVersionLS: Cardinal;
begin
if (GetVersionNumbers(UpdatePath+'TweetDuck.exe', TDVersionMS, TDVersionLS)) and ((TDVersionMS and $FFFF) < 16) then
begin
Result := False
Exit
end;
Result := (GetVersionNumbersString(UpdatePath+'libcef.dll', CEFVersion) and (CompareStr(CEFVersion, '{#CefVersion}') = 0))
end;
Expand Down

0 comments on commit 65d56b3

Please sign in to comment.