Esempio n. 1
0
        private void Manifest_SaveServiceExecutablePath(object owner, RoutedEventArgs args)
        {
            CoffeeTableManifest manifest = Extensions.GetCoffeeTableManifest();

            manifest.ServiceExecutablePath = ServicePathSelector.FileName;
            manifest.Set();
        }
Esempio n. 2
0
        // Set up the Coffee Table file manifest by saving the path to the launcher
        // and loading the path to the service if it exists
        private void Manifest_Refresh()
        {
            CoffeeTableManifest manifest = Extensions.GetCoffeeTableManifest();

            manifest.LauncherPath = Process.GetCurrentProcess().MainModule.FileName;
            manifest.Set();

            ServicePathSelector.FileName = manifest.ServiceExecutablePath ?? string.Empty;
        }