Expose DisableAutoImport in IPlatform

📋 Summary

Expose the platform DisableAutoImport setting through the IPlatform plugin API.


❗ Problem

LaunchBox appears to already store this setting per platform, but it is not currently available through the IPlatform plugin API.

This means plugin developers cannot easily check whether auto-import is disabled for a specific platform using the supported API.


💡 Proposal

Add DisableAutoImport to the IPlatform interface so plugin developers can access this setting directly.

This could be exposed as a read-only property if write support is not intended.


🧩 Use Cases

  • A plugin checks whether auto-import is disabled for a platform

  • A plugin displays platform import settings to the user

  • A plugin avoids import-related behavior for platforms where auto-import is disabled

  • Developers can use the official API instead of relying on workarounds


📦 Benefits

  • Improves plugin API completeness

  • Makes platform import settings easier for plugins to respect

  • Reduces the need for unsupported workarounds

  • Helps plugin developers build more reliable integrations


⚠️ Considerations

If write access is supported, changes should stay consistent with LaunchBox’s platform settings. If not, read-only access would still be useful.

Please authenticate to join the conversation.

Upvoters
Status

Open To Community

Board
Custom icon

LaunchBox for Windows

Date

17 days ago

Author

stigzler

Subscribe to post

Get notified by email when there are changes.