Skip to content

Commit

Permalink
Tzoptimizer v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzesh authored Aug 16, 2020
1 parent 6d278e4 commit b08a4eb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions Tzoptimizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,18 @@ private void DiskChecker()
}
i++;
}

if (drives[0].Equals("SSD"))
{
ProgressInfo.AppendText("\nLooks like your system is based on a SSD. We strongly recommend you to use recommended settings for SSD based systems.");
ProgressInfo.AppendText("\nRecommended settings for SSD based systems selected.");
Recommended.SelectedIndex = 1;
} else
{
ProgressInfo.AppendText("\nLooks like your system is based on non-SSD. We strongly recommend you to use recommended settings for non-SSD based systems.");
ProgressInfo.AppendText("\nRecommended settings for non-SSD based systems selected.");
Recommended.SelectedIndex = 0;
}
}

}
Expand Down
12 changes: 6 additions & 6 deletions Tzoptimizer.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="button1.Location" type="System.Drawing.Point, System.Drawing">
<value>809, 308</value>
<value>791, 308</value>
</data>
<data name="button1.Size" type="System.Drawing.Size, System.Drawing">
<value>162, 28</value>
<value>180, 28</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="button1.TabIndex" type="System.Int32, mscorlib">
Expand Down Expand Up @@ -156,7 +156,7 @@
<value>5</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>v1.3</value>
<value>v1.4</value>
</data>
<data name="&gt;&gt;label4.Name" xml:space="preserve">
<value>label4</value>
Expand All @@ -171,10 +171,10 @@
<value>16</value>
</data>
<data name="progressBar1.Location" type="System.Drawing.Point, System.Drawing">
<value>809, 292</value>
<value>791, 292</value>
</data>
<data name="progressBar1.Size" type="System.Drawing.Size, System.Drawing">
<value>162, 10</value>
<value>180, 10</value>
</data>
<data name="progressBar1.TabIndex" type="System.Int32, mscorlib">
<value>20</value>
Expand Down Expand Up @@ -370,7 +370,7 @@
<value>For non-SSD Systems</value>
</data>
<data name="Recommended.Items1" xml:space="preserve">
<value>For SSD-Based Systems</value>
<value>For SSD Based Systems</value>
</data>
<data name="Recommended.Location" type="System.Drawing.Point, System.Drawing">
<value>791, 265</value>
Expand Down

0 comments on commit b08a4eb

Please sign in to comment.