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>
|
<Company>InstaSoft Zrt.</Company>
|
||||||
<Product>InstaSoft Office Tool</Product>
|
<Product>InstaSoft Office Tool</Product>
|
||||||
<Copyright>Copyright (c) InstaSoft Zrt. 2026</Copyright>
|
<Copyright>Copyright (c) InstaSoft Zrt. 2026</Copyright>
|
||||||
<Version>1.1.0</Version>
|
<Version>1.1.1</Version>
|
||||||
<AssemblyVersion>1.1.0.0</AssemblyVersion>
|
<AssemblyVersion>1.1.1.0</AssemblyVersion>
|
||||||
<FileVersion>1.1.0.0</FileVersion>
|
<FileVersion>1.1.1.0</FileVersion>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<TextBlock Text="v1.10" HorizontalAlignment="Right" VerticalAlignment="Center"
|
<TextBlock Text="v1.11" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||||
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|||||||
@@ -69,14 +69,18 @@ namespace InstaSoftOfficeTool.Models
|
|||||||
public static class ExcludableApps
|
public static class ExcludableApps
|
||||||
{
|
{
|
||||||
// Id, DisplayName, DefaultChecked (true = telep\u00edt, false = kiz\u00e1r)
|
// 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),
|
("Word", "Word", true, "all"),
|
||||||
("Teams", "Teams", true),
|
("Excel", "Excel", true, "all"),
|
||||||
("OneNote", "OneNote", true),
|
("PowerPoint", "PowerPoint", true, "all"),
|
||||||
("Publisher", "Publisher", true),
|
("Outlook", "Outlook", true, "all"),
|
||||||
("Outlook", "Outlook", true),
|
("OneNote", "OneNote", true, "all"),
|
||||||
("Lync", "Skype for Business", false),
|
("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 &&
|
bool isProPlus = _config.Edition != null &&
|
||||||
_config.Edition.ProductId.Contains("ProPlus");
|
_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
|
var cb = new CheckBox
|
||||||
{
|
{
|
||||||
Content = app.DisplayName,
|
Content = app.DisplayName,
|
||||||
IsChecked = accessOnly && !isProPlus ? false : isChecked,
|
IsChecked = unavailable ? false : isChecked,
|
||||||
IsEnabled = !(accessOnly && !isProPlus),
|
IsEnabled = !unavailable,
|
||||||
Tag = app.Id,
|
Tag = app.Id,
|
||||||
Style = (Style)FindResource("FluentCheckBox"),
|
Style = (Style)FindResource("FluentCheckBox"),
|
||||||
Margin = new Thickness(0, 4, 24, 4),
|
Margin = new Thickness(0, 4, 24, 4),
|
||||||
|
|||||||
Reference in New Issue
Block a user