Exemplo n.º 1
0
        static FileInfo CreateVideothequeForSetup(string location)
        {
            var finfo = new FileInfo(location);
            var data  = new VideothequeData();

            data.PathsSettings.TempPath = CreateDefaultFolder(finfo, Names.DefaultTempFolder);

            HeadedJsonFormat.Write(
                finfo,
                data);
            return(finfo);
        }
Exemplo n.º 2
0
        static FileInfo CreateEmptyVideotheque(string location)
        {
            var data  = new VideothequeData();
            var finfo = new FileInfo(location);

            data.PathsSettings.RawPath    = CreateDefaultFolder(finfo, Names.DefaultRawFolder);
            data.PathsSettings.ModelPath  = CreateDefaultFolder(finfo, Names.DefaultModelFolder);
            data.PathsSettings.OutputPath = CreateDefaultFolder(finfo, Names.DefaultOutputFolder);
            data.PathsSettings.TempPath   = CreateDefaultFolder(finfo, Names.DefaultTempFolder);
            data.PathsSettings.PatchPath  = CreateDefaultFolder(finfo, Names.DefaultPatchFolder);

            HeadedJsonFormat.Write(
                finfo,
                data);
            return(finfo);
        }