v1.11 — Full app list, edition-specific availability
- All Office apps listed: Word, Excel, PowerPoint, Outlook, OneNote, Access, Publisher, Teams, Skype - Access: only available in Professional Plus - Publisher: available in Professional Plus and Standard, disabled for Home & Business - Teams and Skype for Business: unchecked by default - All core apps (Word, Excel, etc.) can be individually excluded Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -55,13 +55,20 @@ namespace InstaSoftOfficeTool.Pages
|
||||
|
||||
bool isProPlus = _config.Edition != null &&
|
||||
_config.Edition.ProductId.Contains("ProPlus");
|
||||
bool accessOnly = app.Id == "Access";
|
||||
bool isStandard = _config.Edition != null &&
|
||||
_config.Edition.ProductId.Contains("Standard");
|
||||
|
||||
bool unavailable = false;
|
||||
if (app.MinEdition == "proplus" && !isProPlus)
|
||||
unavailable = true;
|
||||
else if (app.MinEdition == "standard+" && !isProPlus && !isStandard)
|
||||
unavailable = true;
|
||||
|
||||
var cb = new CheckBox
|
||||
{
|
||||
Content = app.DisplayName,
|
||||
IsChecked = accessOnly && !isProPlus ? false : isChecked,
|
||||
IsEnabled = !(accessOnly && !isProPlus),
|
||||
IsChecked = unavailable ? false : isChecked,
|
||||
IsEnabled = !unavailable,
|
||||
Tag = app.Id,
|
||||
Style = (Style)FindResource("FluentCheckBox"),
|
||||
Margin = new Thickness(0, 4, 24, 4),
|
||||
|
||||
Reference in New Issue
Block a user