Ejemplo n.º 1
0
 public void Load() => new Action(() =>
 {
     var runtimeDir = Path.Combine(Container.Get <IBootstrapper>().ApplicationDirectory, "qmlnet-qt-runtimes");
     if (!Directory.Exists(runtimeDir))
     {
         var stream = Assembly.GetManifestResourceStream(ResourceName);
         RuntimeManager.ExtractTarGZStream(stream, runtimeDir);
     }
     RuntimeManager.ConfigureRuntimeDirectory(runtimeDir);
 })();