Fixed encryption keys not being loaded properly.
This commit is contained in:
parent
dbd426dcf1
commit
f3926d3f13
@ -5,10 +5,7 @@
|
||||
private static IniFile CreateIniFile()
|
||||
{
|
||||
var ini = new IniFile();
|
||||
if(!ini.KeyExists("MusicOrderSort"))
|
||||
{
|
||||
ini.Write(MusicOrderSortProperty, MusicOrderSortValueNone);
|
||||
}
|
||||
if(!ini.KeyExists("MusicOrderSort")) ini.Write(MusicOrderSortProperty, MusicOrderSortValueNone);
|
||||
return ini;
|
||||
}
|
||||
|
||||
|
@ -5,6 +5,7 @@ using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using TaikoSoundEditor.Collections;
|
||||
using TaikoSoundEditor.Commons.Controls;
|
||||
using TaikoSoundEditor.Commons.IO;
|
||||
using TaikoSoundEditor.Commons.Utils;
|
||||
using TaikoSoundEditor.Data;
|
||||
|
||||
@ -71,6 +72,8 @@ namespace TaikoSoundEditor
|
||||
|
||||
Config.DatatableIO.IsEncrypted = UseEncryptionBox.Checked;
|
||||
|
||||
SSL.LoadKeys();
|
||||
|
||||
try
|
||||
{
|
||||
MusicAttributes = Config.DatatableIO.DeserializeCollection<MusicAttributes, IMusicAttribute>(MusicAttributePath, DatatableTypes.MusicAttribute);
|
||||
|
@ -1,17 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Windows.Forms;
|
||||
using TaikoSoundEditor.Commons.Emit;
|
||||
using TaikoSoundEditor.Commons.Extensions;
|
||||
using TaikoSoundEditor.Commons.IO;
|
||||
using TaikoSoundEditor.Commons.Utils;
|
||||
using TaikoSoundEditor.Data;
|
||||
using TaikoSoundEditor.Properties;
|
||||
@ -43,8 +38,6 @@ namespace TaikoSoundEditor
|
||||
{
|
||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
|
||||
SSL.LoadKeys();
|
||||
|
||||
|
||||
string json = Resources.datatable_def_08_18;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user