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:
@@ -1,62 +0,0 @@
|
||||
<Page x:Class="InstaSoftOfficeTool.Pages.ProductKeyPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Background="Transparent">
|
||||
|
||||
<Grid Margin="40,30">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="0" Margin="0,0,0,24">
|
||||
<TextBlock Text="Termékkulcs" FontSize="24" FontWeight="Light"/>
|
||||
<TextBlock Text="Adja meg a 25 karakteres termékkulcsot, vagy hagyja üresen."
|
||||
FontSize="14" Foreground="{StaticResource TextSecondaryBrush}" Margin="0,4,0,0"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="1" VerticalAlignment="Top">
|
||||
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
|
||||
<TextBox x:Name="Key1" Style="{StaticResource FluentTextBox}"
|
||||
Width="110" MaxLength="5" CharacterCasing="Upper"
|
||||
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
|
||||
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
|
||||
Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
<TextBox x:Name="Key2" Style="{StaticResource FluentTextBox}"
|
||||
Width="110" MaxLength="5" CharacterCasing="Upper"
|
||||
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
|
||||
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
|
||||
Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
<TextBox x:Name="Key3" Style="{StaticResource FluentTextBox}"
|
||||
Width="110" MaxLength="5" CharacterCasing="Upper"
|
||||
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
|
||||
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
|
||||
Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
<TextBox x:Name="Key4" Style="{StaticResource FluentTextBox}"
|
||||
Width="110" MaxLength="5" CharacterCasing="Upper"
|
||||
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
|
||||
<TextBlock Text="-" FontSize="20" VerticalAlignment="Center" Margin="6,0"
|
||||
Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
<TextBox x:Name="Key5" Style="{StaticResource FluentTextBox}"
|
||||
Width="110" MaxLength="5" CharacterCasing="Upper"
|
||||
TextChanged="KeyBox_TextChanged" FontFamily="Consolas" TextAlignment="Center"/>
|
||||
</StackPanel>
|
||||
|
||||
<CheckBox x:Name="CbSkipKey" Style="{StaticResource FluentCheckBox}"
|
||||
Content="Később szeretném megadni"
|
||||
Margin="0,20,0,0" Checked="CbSkipKey_Changed" Unchecked="CbSkipKey_Changed"/>
|
||||
|
||||
<Border Background="#FFF8E1" CornerRadius="6" Padding="16,12" Margin="0,24,0,0"
|
||||
BorderBrush="#FFE082" BorderThickness="1" MaxWidth="600" HorizontalAlignment="Left">
|
||||
<StackPanel>
|
||||
<TextBlock Text="Tudnivaló" FontWeight="SemiBold" FontSize="13" Margin="0,0,0,4"/>
|
||||
<TextBlock TextWrapping="Wrap" FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"
|
||||
Text="Ha megadja a termékkulcsot, az Office automatikusan aktiválódik a telepítés után. Ha nem adja meg, későbbi időpontban is megadható az Office alkalmazáson belül (Fájl > Fiók > Termékkulcs módosítása)."/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<TextBlock x:Name="ValidationMessage" FontSize="12" Margin="0,12,0,0"
|
||||
Foreground="{StaticResource ErrorBrush}" Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user