コード例 #1
0
        public static void WriteDefaultIni()
        {
            if (!Directory.Exists("./FO4Alternativelauncher"))
            {
                Directory.CreateDirectory("./FO4Alternativelauncher");
            }

            IniFile settingFile = new IniReader.IniFile(AppSettingPath);

            settingFile.Write(OpenConsole.VarName, (Convert.ToInt32(OpenConsole.VarValue)).ToString(), OpenConsole.Section);
            settingFile.Write(EXEPath.VarName, EXEPath.VarValue.ToString(), EXEPath.Section);
            return;
        }
コード例 #2
0
        public static void WriteDefaultIni()
        {
            if (!Directory.Exists("./FO4Alternativelauncher"))
                Directory.CreateDirectory("./FO4Alternativelauncher");

            IniFile settingFile = new IniReader.IniFile(AppSettingPath);
            settingFile.Write(OpenConsole.VarName, (Convert.ToInt32(OpenConsole.VarValue)).ToString(), OpenConsole.Section);
            settingFile.Write(EXEPath.VarName, EXEPath.VarValue.ToString(), EXEPath.Section);
            return;
        }