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 PopulateGoogleAppLibraryPath()
 {
     txtChromeAppPath.Text = ChromeAppLibrary.ChromeAppLibraryPathExists()
         ? ChromeAppLibrary.AppLibraryPath
         : $"{Strings.PathNotFound}: {ChromeAppLibrary.AppLibraryPath}";
 }