From acb313e06125dc49a5e33c04bd708cf658b13b10 Mon Sep 17 00:00:00 2001 From: Richard Wilkes Date: Mon, 11 Mar 2019 07:54:11 -0700 Subject: [PATCH] Bring Windows CEF version in line with others --- main.go | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/main.go b/main.go index 77dfedb..1ad5bed 100644 --- a/main.go +++ b/main.go @@ -3,27 +3,15 @@ package main import ( "fmt" "os" - "runtime" "github.com/richardwilkes/cef/internal/cmd" - "github.com/richardwilkes/toolbox" "github.com/richardwilkes/toolbox/atexit" "github.com/richardwilkes/toolbox/cmdline" ) -func main() { - // This is normally the same for all platforms, however, the March 8, 2019 - // build has a slightly older build for Windows. Given the security issue - // this build addresses, I felt it was better to have the platforms - // deviate on the specific build than to wait for them to return to being - // in sync with each other. - var desiredCEFVersion string - if runtime.GOOS == toolbox.WindowsOS { - desiredCEFVersion = "3.3578.1870.gc974488" - } else { - desiredCEFVersion = "3.3626.1895.g7001d56" - } +const desiredCEFVersion = "3.3626.1895.g7001d56" +func main() { cmdline.CopyrightYears = "2018-2019" cmdline.CopyrightHolder = "Richard A. Wilkes" cmdline.AppIdentifier = "com.trollworks.cef" -- GitLab