We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7805f68 commit 9346334Copy full SHA for 9346334
ModAPI.Common/PathDialogs.cs
@@ -167,28 +167,6 @@ private static string ShowSporeChooserDialog()
167
168
return path;
169
}
170
-
171
- private static string ShowSteamChooserDialog()
172
- {
173
- string path = null;
174
- Thread thread = new Thread(() =>
175
176
- var dialog = new FolderBrowserDialog();
177
- if (dialog.ShowDialog() == DialogResult.OK)
178
179
- path = dialog.SelectedPath;
180
- // move the path to the folder that contains Steam.exe (just in case)
181
- path = SporePath.MoveToSteam(path);
182
- LauncherSettings.SteamPath = path;
183
- LauncherSettings.Save();
184
- }
185
- });
186
- thread.SetApartmentState(ApartmentState.STA);
187
- thread.Start();
188
- thread.Join();
189
190
- return path;
191
192
193
194
0 commit comments