FModel v1.4 crash fix

This commit is contained in:
AsvalGTA 2019-03-26 21:58:28 +01:00
parent 04761823c8
commit 72af74ccd5
6 changed files with 3 additions and 40 deletions

View File

@ -52,12 +52,6 @@
<setting name="isWatermark" serializeAs="String">
<value>False</value>
</setting>
<setting name="email" serializeAs="String">
<value />
</setting>
<setting name="password" serializeAs="String">
<value />
</setting>
</FModel.Properties.Settings>
</userSettings>
</configuration>

View File

@ -78,9 +78,6 @@
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=106.6.9.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.6.9\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="ScintillaNET, Version=3.6.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\jacobslusser.ScintillaNET.3.6.3\lib\net40\ScintillaNET.dll</HintPath>
</Reference>

View File

@ -165,6 +165,9 @@ namespace FModel
Properties.Settings.Default.ExtractAndSerialize = true; //SERIALIZE BY DEFAULT
docPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments).ToString() + "\\FModel";
if (!Directory.Exists(docPath))
Directory.CreateDirectory(docPath);
if (string.IsNullOrEmpty(Properties.Settings.Default.ExtractOutput))
{
Properties.Settings.Default.ExtractOutput = docPath;

View File

@ -201,29 +201,5 @@ namespace FModel.Properties {
this["isWatermark"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string email {
get {
return ((string)(this["email"]));
}
set {
this["email"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string password {
get {
return ((string)(this["password"]));
}
set {
this["password"] = value;
}
}
}
}

View File

@ -47,11 +47,5 @@
<Setting Name="isWatermark" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="email" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="password" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>

View File

@ -2,5 +2,4 @@
<packages>
<package id="jacobslusser.ScintillaNET" version="3.6.3" targetFramework="net461" />
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net461" />
<package id="RestSharp" version="106.6.9" targetFramework="net461" />
</packages>