Example #1
0
        private static void ContinueRun(Config config, bool donate)
        {
            if (donate)
            {
                System.Diagnostics.Process.Start(@"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MLD56V6HQWCKU&source=url");
            }

            string configJson = Serializer.SerializeConfig(config);

            JsonSerializer.SaveLastShortcutsJson(configJson);
            string builderPath       = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Builder", "StartMenuManager.Builder.exe");
            string shortcutsJsonPath = WindowRef.Wind.Settings.GetShortcutsFilePath("shortcuts.json");

            ExecuteAsAdmin(builderPath, shortcutsJsonPath);

            // Remove old website icons
            IconManager.ClearUnusedIcons(config);
        }