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:
@@ -9,9 +9,9 @@
|
||||
<Company>InstaSoft Zrt.</Company>
|
||||
<Product>InstaSoft Office Tool</Product>
|
||||
<Copyright>Copyright (c) InstaSoft Zrt. 2026</Copyright>
|
||||
<Version>1.1.0</Version>
|
||||
<AssemblyVersion>1.1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.1.0.0</FileVersion>
|
||||
<Version>1.1.1</Version>
|
||||
<AssemblyVersion>1.1.1.0</AssemblyVersion>
|
||||
<FileVersion>1.1.1.0</FileVersion>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<LangVersion>latest</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<TextBlock Text="v1.10" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
<TextBlock Text="v1.11" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
@@ -69,14 +69,18 @@ namespace InstaSoftOfficeTool.Models
|
||||
public static class ExcludableApps
|
||||
{
|
||||
// Id, DisplayName, DefaultChecked (true = telep\u00edt, false = kiz\u00e1r)
|
||||
public static readonly (string Id, string DisplayName, bool DefaultChecked)[] Apps = new[]
|
||||
// MinEdition: "all", "standard+" (Standard \u00e9s ProPlus), "proplus" (csak ProPlus)
|
||||
public static readonly (string Id, string DisplayName, bool DefaultChecked, string MinEdition)[] Apps = new[]
|
||||
{
|
||||
("Access", "Access", true),
|
||||
("Teams", "Teams", true),
|
||||
("OneNote", "OneNote", true),
|
||||
("Publisher", "Publisher", true),
|
||||
("Outlook", "Outlook", true),
|
||||
("Lync", "Skype for Business", false),
|
||||
("Word", "Word", true, "all"),
|
||||
("Excel", "Excel", true, "all"),
|
||||
("PowerPoint", "PowerPoint", true, "all"),
|
||||
("Outlook", "Outlook", true, "all"),
|
||||
("OneNote", "OneNote", true, "all"),
|
||||
("Access", "Access", true, "proplus"),
|
||||
("Publisher", "Publisher", true, "standard+"),
|
||||
("Teams", "Teams", false, "all"),
|
||||
("Lync", "Skype for Business", false, "all"),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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