Esempio n. 1
0
        public UpdateInfo(UpdaterSettings settings, string versionTag, string downloadUrl)
        {
            this.installerFolder = settings.InstallerDownloadFolder;
            this.downloadUrl     = downloadUrl;

            this.VersionTag    = versionTag;
            this.InstallerPath = Path.Combine(installerFolder, "TweetDuck." + versionTag + ".exe");
        }
Esempio n. 2
0
        public UpdateHandler(ChromiumWebBrowser browser, UpdaterSettings settings)
        {
            this.browser  = browser;
            this.settings = settings;

            browser.FrameLoadEnd += browser_FrameLoadEnd;
            browser.RegisterAsyncJsObject("$TDU", new Bridge(this));
        }