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,67 +0,0 @@
|
||||
<Page x:Class="InstaSoftOfficeTool.Pages.PreInstallCheckPage"
|
||||
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="*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="0" Margin="0,0,0,16">
|
||||
<TextBlock Text="Meglévő Office ellenőrzése" FontSize="24" FontWeight="Light"/>
|
||||
<TextBlock x:Name="SubtitleText" FontSize="14"
|
||||
Foreground="{StaticResource TextSecondaryBrush}" Margin="0,4,0,0"/>
|
||||
</StackPanel>
|
||||
|
||||
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
|
||||
<StackPanel>
|
||||
<StackPanel x:Name="OfficeListPanel"/>
|
||||
|
||||
<!-- No office found card -->
|
||||
<Border x:Name="NoOfficeCard" Visibility="Collapsed"
|
||||
Background="{StaticResource CardBrush}" CornerRadius="8"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"
|
||||
Padding="16,14">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="" FontFamily="Segoe MDL2 Assets" FontSize="18"
|
||||
Foreground="{StaticResource SuccessBrush}" VerticalAlignment="Center"
|
||||
Margin="0,0,12,0"/>
|
||||
<TextBlock Text="Nem található telepített Office. A telepítés indítható."
|
||||
FontSize="14" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
<!-- License cleanup -->
|
||||
<Border x:Name="LicenseCleanupPanel" Margin="0,12,0,0" Visibility="Collapsed"
|
||||
Background="{StaticResource CardBrush}" CornerRadius="8"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="1"
|
||||
Padding="16,12">
|
||||
<CheckBox x:Name="CbCleanLicense" Style="{StaticResource FluentCheckBox}"
|
||||
Content="Licenc-adatbázis tisztítása is (ajánlott)"
|
||||
IsChecked="True"/>
|
||||
</Border>
|
||||
|
||||
<!-- Log -->
|
||||
<Border x:Name="LogPanel" Margin="0,12,0,0" Background="#F8F8F8"
|
||||
CornerRadius="6" Padding="12" Visibility="Collapsed"
|
||||
BorderBrush="{StaticResource BorderBrush}" BorderThickness="1">
|
||||
<TextBox x:Name="LogText" FontFamily="Consolas" FontSize="11"
|
||||
TextWrapping="Wrap" Foreground="{StaticResource TextSecondaryBrush}"
|
||||
IsReadOnly="True" Background="Transparent" BorderThickness="0"
|
||||
VerticalScrollBarVisibility="Auto" AcceptsReturn="True" MaxHeight="150"/>
|
||||
</Border>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
<!-- Buttons -->
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
|
||||
<Button x:Name="BtnSkip" Content="Kihagyás, telepítés folytatása"
|
||||
Style="{StaticResource SecondaryButton}" Click="BtnSkip_Click" Margin="0,0,8,0"/>
|
||||
<Button x:Name="BtnRemove" Content="Eltávolítás, majd telepítés"
|
||||
Style="{StaticResource PrimaryButton}" Click="BtnRemove_Click" Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user