mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +01:00
chore: disable profiles for dev plugins for now, it's not functional
This commit is contained in:
parent
34d5a5e837
commit
8c57f26a18
2 changed files with 2 additions and 2 deletions
|
|
@ -2350,7 +2350,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
var profileManager = Service<ProfileManager>.Get();
|
var profileManager = Service<ProfileManager>.Get();
|
||||||
var config = Service<DalamudConfiguration>.Get();
|
var config = Service<DalamudConfiguration>.Get();
|
||||||
|
|
||||||
var applicableForProfiles = plugin.Manifest.SupportsProfiles;
|
var applicableForProfiles = plugin.Manifest.SupportsProfiles && !plugin.IsDev;
|
||||||
var isDefaultPlugin = profileManager.IsInDefaultProfile(plugin.Manifest.InternalName);
|
var isDefaultPlugin = profileManager.IsInDefaultProfile(plugin.Manifest.InternalName);
|
||||||
|
|
||||||
// Disable everything if the updater is running or another plugin is operating
|
// Disable everything if the updater is running or another plugin is operating
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ internal class ProfileManagerWidget
|
||||||
if (ImGui.BeginListBox("###pluginPicker", new Vector2(width, width - 80)))
|
if (ImGui.BeginListBox("###pluginPicker", new Vector2(width, width - 80)))
|
||||||
{
|
{
|
||||||
// TODO: Plugin searching should be abstracted... installer and this should use the same search
|
// TODO: Plugin searching should be abstracted... installer and this should use the same search
|
||||||
foreach (var plugin in pm.InstalledPlugins.Where(x => x.Manifest.SupportsProfiles &&
|
foreach (var plugin in pm.InstalledPlugins.Where(x => x.Manifest.SupportsProfiles && !x.IsDev &&
|
||||||
(this.pickerSearch.IsNullOrWhitespace() || x.Manifest.Name.ToLowerInvariant().Contains(this.pickerSearch.ToLowerInvariant()))))
|
(this.pickerSearch.IsNullOrWhitespace() || x.Manifest.Name.ToLowerInvariant().Contains(this.pickerSearch.ToLowerInvariant()))))
|
||||||
{
|
{
|
||||||
using var disabled2 =
|
using var disabled2 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue