mirror of
https://github.com/R-YaTian/TinkeDSi.git
synced 2025-06-18 16:45:43 -04:00
Try to fix for dotnet4.5 of not being able to build
This commit is contained in:
parent
b5f1a84ce3
commit
0205c320ee
@ -155,6 +155,42 @@ namespace Tinke
|
||||
Application.Run(new Sistema());
|
||||
}
|
||||
|
||||
//process ExtractOptions
|
||||
private static void RunExtract(ExtractOptions opts)
|
||||
{
|
||||
extractFilePath = opts.FilePath;
|
||||
extractOutputPath = opts.OutputPath;
|
||||
curCommand = 1;
|
||||
}
|
||||
|
||||
//process ReplaceOptions
|
||||
private static void RunReplace(ReplaceOptions opts)
|
||||
{
|
||||
replaceResPath = opts.ResPath;
|
||||
replaceInputFile = opts.FilePath;
|
||||
replaceOutputFile = opts.OutputFile;
|
||||
safeTrim = opts.SafeTrim;
|
||||
keepSig = opts.KeepSig;
|
||||
recompressA9 = opts.Recompress;
|
||||
blzcueA9 = opts.BlzCue;
|
||||
curCommand = 2;
|
||||
}
|
||||
|
||||
//process OpenOptions
|
||||
private static void RunOpen(OpenOptions opts)
|
||||
{
|
||||
if (Environment.GetCommandLineArgs().Length <= 2)
|
||||
{
|
||||
bOpenDefault = true;
|
||||
curCommand = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
curCommand = 3;
|
||||
tblRoms = opts.Props.ToList();
|
||||
bIsFolder = opts.IsFolder;
|
||||
}
|
||||
|
||||
private static void HandleArgs(object obj)
|
||||
{
|
||||
switch (obj)
|
||||
@ -169,42 +205,6 @@ namespace Tinke
|
||||
RunOpen(o);
|
||||
break;
|
||||
}
|
||||
|
||||
//process ExtractOptions
|
||||
void RunExtract(ExtractOptions opts)
|
||||
{
|
||||
extractFilePath = opts.FilePath;
|
||||
extractOutputPath = opts.OutputPath;
|
||||
curCommand = 1;
|
||||
}
|
||||
|
||||
//process ReplaceOptions
|
||||
void RunReplace(ReplaceOptions opts)
|
||||
{
|
||||
replaceResPath = opts.ResPath;
|
||||
replaceInputFile = opts.FilePath;
|
||||
replaceOutputFile = opts.OutputFile;
|
||||
safeTrim = opts.SafeTrim;
|
||||
keepSig = opts.KeepSig;
|
||||
recompressA9 = opts.Recompress;
|
||||
blzcueA9 = opts.BlzCue;
|
||||
curCommand = 2;
|
||||
}
|
||||
|
||||
//process OpenOptions
|
||||
void RunOpen(OpenOptions opts)
|
||||
{
|
||||
if (Environment.GetCommandLineArgs().Length <= 2)
|
||||
{
|
||||
bOpenDefault = true;
|
||||
curCommand = -1;
|
||||
return;
|
||||
}
|
||||
else
|
||||
curCommand = 3;
|
||||
tblRoms = opts.Props.ToList();
|
||||
bIsFolder = opts.IsFolder;
|
||||
}
|
||||
}
|
||||
|
||||
private static void HandleErrors(IEnumerable<Error> obj)
|
||||
|
2
Tinke/Properties/Settings.Designer.cs
generated
2
Tinke/Properties/Settings.Designer.cs
generated
@ -12,7 +12,7 @@ namespace Tinke.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
Loading…
Reference in New Issue
Block a user