Skip to content

Commit

Permalink
Upper limit of resin is now 200
Browse files Browse the repository at this point in the history
  • Loading branch information
Grabacr07 committed Jun 9, 2024
1 parent d803dd4 commit bea356d
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 6 deletions.
45 changes: 45 additions & 0 deletions src/SilentSelene/App.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SilentSelene.Properties.UserSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<SilentSelene.Properties.UserSettings>
<setting name="MaxResin" serializeAs="String">
<value>200</value>
</setting>
<setting name="MinResin" serializeAs="String">
<value>0</value>
</setting>
<setting name="ShowInTaskbar" serializeAs="String">
<value>True</value>
</setting>
<setting name="TopMost" serializeAs="String">
<value>False</value>
</setting>
<setting name="LatestOverflowTime" serializeAs="String">
<value>2000-01-01</value>
</setting>
<setting name="OverflowResin" serializeAs="String">
<value>200</value>
</setting>
<setting name="NotifyOverflow" serializeAs="String">
<value>True</value>
</setting>
<setting name="uid" serializeAs="String">
<value />
</setting>
<setting name="ltuid" serializeAs="String">
<value />
</setting>
<setting name="ltoken" serializeAs="String">
<value />
</setting>
<setting name="UseRealtimeNoteApi" serializeAs="String">
<value>False</value>
</setting>
<setting name="ApiRequestInterval" serializeAs="String">
<value>00:10:00</value>
</setting>
</SilentSelene.Properties.UserSettings>
</userSettings>
</configuration>
3 changes: 3 additions & 0 deletions src/SilentSelene/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ static App()
public App()
{
SettingsUtil.Update();

UserSettings.Default.MaxResin = 200;
UserSettings.Default.Save();
}

protected override void OnStartup(StartupEventArgs e)
Expand Down
6 changes: 3 additions & 3 deletions src/SilentSelene/Properties/UserSettings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/SilentSelene/Properties/UserSettings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="MaxResin" Type="System.Int32" Scope="User">
<Value Profile="(Default)">160</Value>
<Value Profile="(Default)">200</Value>
</Setting>
<Setting Name="MinResin" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
Expand All @@ -18,7 +18,7 @@
<Value Profile="(Default)">2000-01-01</Value>
</Setting>
<Setting Name="OverflowResin" Type="System.Int32" Scope="User">
<Value Profile="(Default)">160</Value>
<Value Profile="(Default)">200</Value>
</Setting>
<Setting Name="NotifyOverflow" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
Expand Down
2 changes: 1 addition & 1 deletion src/SilentSelene/SilentSelene.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReadmeFile>..\..\README.md</PackageReadmeFile>
<PackageIcon>.assets\Icons\[email protected]</PackageIcon>
<ApplicationIcon>.assets\Icons\SilentSelene.ico</ApplicationIcon>
<Version>2.0.2</Version>
<Version>2.0.3</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit bea356d

Please sign in to comment.