Skip to content

Commit a540438

Browse files
committed
Added support for user profiles
1 parent a5b5e62 commit a540438

22 files changed

Lines changed: 12314 additions & 129 deletions

Sonic-06-Mod-Manager/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
[assembly: ComVisible(false)]
1313
[assembly: Guid("277111e3-79d8-41b5-b0d7-7609dff6e36f")]
1414
[assembly: AssemblyVersion("2.0.0.6")]
15-
[assembly: AssemblyFileVersion("3.3.3.0")]
15+
[assembly: AssemblyFileVersion("3.3.4.0")]

Sonic-06-Mod-Manager/Properties/Settings.Designer.cs

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sonic-06-Mod-Manager/Properties/Settings.settings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,8 @@
116116
<Setting Name="General_Patches_Priority" Type="System.Boolean" Scope="User">
117117
<Value Profile="(Default)">False</Value>
118118
</Setting>
119+
<Setting Name="General_Profile" Type="System.String" Scope="User">
120+
<Value Profile="(Default)" />
121+
</Setting>
119122
</Settings>
120123
</SettingsFile>

Sonic-06-Mod-Manager/Sonic-06-Mod-Manager.csproj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,20 @@
7878
<DesignTimeSharedInput>True</DesignTimeSharedInput>
7979
<DependentUpon>Settings.settings</DependentUpon>
8080
</Compile>
81+
<Compile Include="src\Environment3\ProfileCreator.cs">
82+
<SubType>Form</SubType>
83+
</Compile>
84+
<Compile Include="src\Environment3\ProfileCreator.Designer.cs">
85+
<DependentUpon>ProfileCreator.cs</DependentUpon>
86+
</Compile>
87+
<Compile Include="src\Environment3\ProfileSelect.cs">
88+
<SubType>Form</SubType>
89+
</Compile>
90+
<Compile Include="src\Environment3\ProfileSelect.Designer.cs">
91+
<DependentUpon>ProfileSelect.cs</DependentUpon>
92+
</Compile>
93+
<Compile Include="src\UnifyDrawing.cs" />
94+
<Compile Include="src\UnifyProfile.cs" />
8195
<Compile Include="third_party\ArcPackerLib\ArcPacker.cs" />
8296
<Compile Include="src\Environment3\Controls\UnifyMessenger.cs">
8397
<SubType>Form</SubType>
@@ -268,6 +282,12 @@
268282
<EmbeddedResource Include="src\Environment3\ModOneClickInstall.resx">
269283
<DependentUpon>ModOneClickInstall.cs</DependentUpon>
270284
</EmbeddedResource>
285+
<EmbeddedResource Include="src\Environment3\ProfileCreator.resx">
286+
<DependentUpon>ProfileCreator.cs</DependentUpon>
287+
</EmbeddedResource>
288+
<EmbeddedResource Include="src\Environment3\ProfileSelect.resx">
289+
<DependentUpon>ProfileSelect.cs</DependentUpon>
290+
</EmbeddedResource>
271291
<EmbeddedResource Include="src\Environment3\RushInterface.resx">
272292
<DependentUpon>RushInterface.cs</DependentUpon>
273293
<SubType>Designer</SubType>

Sonic-06-Mod-Manager/app.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@
121121
<setting name="General_Patches_Priority" serializeAs="String">
122122
<value>False</value>
123123
</setting>
124+
<setting name="General_Profile" serializeAs="String">
125+
<value />
126+
</setting>
124127
</Unify.Properties.Settings>
125128
</userSettings>
126129
</configuration>

Sonic-06-Mod-Manager/src/Environment3/PatchCreator.Designer.cs

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sonic-06-Mod-Manager/src/Environment3/PatchCreator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public PatchCreator(string patch, bool edit)
5454
combo_System.SelectedIndex = 0;
5555
}
5656

57-
unifytb_ModCreator.ActiveColor = unifytb_ModCreator.HorizontalLineColor = Properties.Settings.Default.General_AccentColour;
58-
if (Properties.Settings.Default.General_HighContrastText) unifytb_ModCreator.SelectedTextColor = SystemColors.ControlText;
57+
unifytb_PatchCreator.ActiveColor = unifytb_PatchCreator.HorizontalLineColor = Properties.Settings.Default.General_AccentColour;
58+
if (Properties.Settings.Default.General_HighContrastText) unifytb_PatchCreator.SelectedTextColor = SystemColors.ControlText;
5959

6060
if (edit) {
6161
Text = "Patch Editor";

0 commit comments

Comments
 (0)