v1.16 — Remove PowerShell edition, restore flat project structure
PowerShell version removed — will use OV code signing certificate instead. Files moved back from src/ to project root. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
107
Models/OfficeEdition.cs
Normal file
107
Models/OfficeEdition.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
namespace InstaSoftOfficeTool.Models
|
||||
{
|
||||
public class OfficeEdition
|
||||
{
|
||||
public string DisplayName { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string ProductId { get; set; }
|
||||
public string Channel { get; set; }
|
||||
public bool IsVolume { get; set; }
|
||||
|
||||
public static OfficeEdition[] GetEditions(OfficeVersion version)
|
||||
{
|
||||
switch (version)
|
||||
{
|
||||
case OfficeVersion.Office2024:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2024Volume",
|
||||
Channel = "PerpetualVL2024",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
|
||||
ProductId = "ProPlus2024Volume",
|
||||
Channel = "PerpetualVL2024",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2024Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
case OfficeVersion.Office2021:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2021Volume",
|
||||
Channel = "PerpetualVL2021",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote",
|
||||
ProductId = "ProPlus2021Volume",
|
||||
Channel = "PerpetualVL2021",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2021Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
case OfficeVersion.Office2019:
|
||||
return new[]
|
||||
{
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Standard",
|
||||
Description = "Alapvet\u0151 irodai alkalmaz\u00e1sok: Word, Excel, PowerPoint, Outlook, OneNote",
|
||||
ProductId = "Standard2019Volume",
|
||||
Channel = "PerpetualVL2019",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Professional Plus",
|
||||
Description = "Teljes csomag: Word, Excel, PowerPoint, Outlook, Access, Publisher, OneNote, Skype for Business",
|
||||
ProductId = "ProPlus2019Volume",
|
||||
Channel = "PerpetualVL2019",
|
||||
IsVolume = true
|
||||
},
|
||||
new OfficeEdition
|
||||
{
|
||||
DisplayName = "Otthoni \u00e9s kisv\u00e1llalati verzi\u00f3",
|
||||
Description = "Word, Excel, PowerPoint, Outlook, OneNote \u2014 v\u00e1llalkoz\u00e1sokban is haszn\u00e1lhat\u00f3",
|
||||
ProductId = "HomeBusiness2019Retail",
|
||||
Channel = "Current",
|
||||
IsVolume = false
|
||||
}
|
||||
};
|
||||
|
||||
default:
|
||||
return new OfficeEdition[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user