diff --git a/main.go b/main.go index 77dfedb6434f983c1786d5983bdfa74cf34fb46d..1ad5bed055ff2c1e973fe572b5307160c0b4fdbc 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"