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,83 +0,0 @@
|
||||
<Window x:Class="InstaSoftOfficeTool.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:pages="clr-namespace:InstaSoftOfficeTool.Pages"
|
||||
Title="InstaSoft Office Tool"
|
||||
Width="800" Height="550"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Background="{StaticResource BackgroundBrush}"
|
||||
TextElement.Foreground="{StaticResource TextPrimaryBrush}">
|
||||
|
||||
<Grid>
|
||||
<!-- Main content -->
|
||||
<Grid x:Name="MainGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="64"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="60"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header bar -->
|
||||
<Border Grid.Row="0" Background="{StaticResource HeaderBarBrush}"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,0,0,1">
|
||||
<Grid Margin="24,0">
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<!-- Microsoft 4-color logo -->
|
||||
<Grid Width="24" Height="24" Margin="0,0,12,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Rectangle Grid.Row="0" Grid.Column="0" Fill="#F35325" Margin="0,0,1,1"/>
|
||||
<Rectangle Grid.Row="0" Grid.Column="1" Fill="#81BC06" Margin="1,0,0,1"/>
|
||||
<Rectangle Grid.Row="1" Grid.Column="0" Fill="#05A6F0" Margin="0,1,1,0"/>
|
||||
<Rectangle Grid.Row="1" Grid.Column="1" Fill="#FFBA08" Margin="1,1,0,0"/>
|
||||
</Grid>
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<TextBlock Text="InstaSoft Office Tool" FontSize="16" FontWeight="SemiBold"
|
||||
Foreground="{StaticResource TextPrimaryBrush}"/>
|
||||
<TextBlock Text="Microsoft Partner" FontSize="11"
|
||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,-2,0,0"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<TextBlock Text="v1.14" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Content area -->
|
||||
<Frame x:Name="ContentFrame" Grid.Row="1" NavigationUIVisibility="Hidden"
|
||||
Margin="0" Background="Transparent"/>
|
||||
|
||||
<!-- Bottom bar: step dots + navigation -->
|
||||
<Border Grid.Row="2" Background="{StaticResource HeaderBarBrush}"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="0,1,0,0">
|
||||
<Grid Margin="24,0">
|
||||
<!-- Step indicator dots -->
|
||||
<StackPanel x:Name="StepIndicator" Orientation="Horizontal"
|
||||
HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
</StackPanel>
|
||||
|
||||
<!-- Navigation buttons -->
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center">
|
||||
<Button x:Name="BtnBack" Content="← Vissza" Style="{StaticResource SecondaryButton}"
|
||||
Click="BtnBack_Click" Margin="0,0,8,0" Visibility="Collapsed"/>
|
||||
<Button x:Name="BtnNext" Content="Tovább →" Style="{StaticResource PrimaryButton}"
|
||||
Click="BtnNext_Click" Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
<!-- Confirm dialog overlay -->
|
||||
<pages:ConfirmDialog x:Name="Dialog"/>
|
||||
<!-- Product key dialog overlay -->
|
||||
<pages:ProductKeyDialog x:Name="KeyDialog"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user