public static void RefreshList(bool force = true)
        {
            try
            {
                if (!ChromeAppLibrary.ChromeAppLibraryPathExists() || !ChromeAppLibrary.ChromeInstallationPathExists())
                {
                    return;
                }

                if (force || !_chromeApps.Any())
                {
                    _chromeApps = ChromeAppLibrary.GetChromeAppItems();
                }
            }
            catch
            {
                //ignore
            }
        }
예제 #2
0
 private void PopulateChromeInstallationPath()
 {
     txtChromeExePath.Text = ChromeAppLibrary.ChromeInstallationPathExists()
         ? ChromeAppLibrary.ChromeInstallationPath
         : Strings.UnableToFindChromeInstallationPath;
 }