public static void RefreshList(bool force = true) { try { if (!ChromeAppLibrary.ChromeAppLibraryPathExists() || !ChromeAppLibrary.ChromeInstallationPathExists()) { return; } if (force || !_chromeApps.Any()) { _chromeApps = ChromeAppLibrary.GetChromeAppItems(); } } catch { //ignore } }
private void PopulateGoogleAppLibraryPath() { txtChromeAppPath.Text = ChromeAppLibrary.ChromeAppLibraryPathExists() ? ChromeAppLibrary.AppLibraryPath : $"{Strings.PathNotFound}: {ChromeAppLibrary.AppLibraryPath}"; }