v1.15 — PowerShell edition + repo restructure

- New powershell/InstaSoftOfficeTool.ps1: single-file WPF GUI version
  - Same Fluent Design UI, no compilation needed
  - Runs on any Windows 7+ with PowerShell 5.1 (built-in)
  - Chrome won't flag .ps1 files as "rarely downloaded"
  - Auto-elevates to admin
- Moved C# source to src/ subfolder
- Updated .gitignore for nested bin/obj folders

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hariel1985
2026-04-01 17:58:15 +02:00
szülő 0bc3bd2588
commit ae4d7f82bc
45 fájl változott, egészen pontosan 1161 új sor hozzáadva és 6 régi sor törölve

Fájl megtekintése

@@ -1,107 +0,0 @@
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];
}
}
}
}