Пример #1
0
        protected InstallerBase(InstallSettings settings)
        {
            this.settings = settings;

            //must set the logger immediately so that it can be used by the other functions
            this.logger = new Logger(Path.Combine(settings.gameFolderPath, "seventh_mod_patcher.log"));

            //try and create the download folder
            TryCreateDir(settings.downloadFolderPath);
        }
Пример #2
0
        static void Main(string[] args)
        {
            InstallSettings installSettings = new InstallSettings(
                gameFolderPath: @"C:\temp4\test_cs_installer",
                downloadFolderPath: @"C:\temp4\test_cs_installer\downloads",
                sevenZipPath: @"C:\temp4\test_cs_installer\temp\7za.exe",
                aria2cPath: @"C:\temp4\test_cs_installer\temp\aria2c.exe");
            UminekoQuestionInstaller inst = new UminekoQuestionInstaller(installSettings);

            inst.doInstall();

            Console.WriteLine("Task Finished...");
            Console.ReadKey();
        }
Пример #3
0
 public UminekoQuestionInstaller(InstallSettings settings) : base(settings)
 {
 }