Skip to content

Commit

Permalink
1.1.7.1 Launch
Browse files Browse the repository at this point in the history
  • Loading branch information
OlaYZen committed Nov 8, 2022
1 parent fafc14e commit 683f364
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
11 changes: 2 additions & 9 deletions EnhanceWindows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,12 @@ write-host " "




$Branch = 'Newest'



powershell.exe -WindowStyle Hidden -file > $null

#Invoke-WebRequest -Uri https://raw.githubusercontent.com/OlaYZen/PSXAML/main/MainWindow.xaml?token=GHSAT0AAAAAABZUKU5I2XAWPS2BI54QQXQUY3CMKVA -OutFile $PSScriptRoot"".\xamlui.xaml
#$xamlui = Import-Csv $PSScriptRoot"".\xamlui.xaml
#$xamlFile=$xamlui


#$inputXML="C:\Users\olai.boe\Documents\GitHub\PSXAML\MainWindow.xaml"
$inputXML = (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/OlaYZen/Enhance-Windows/Newest/MainWindow.xaml") #uncomment for Production
$inputXML = (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/OlaYZen/Enhance-Windows/$Branch/MainWindow.xaml") #uncomment for Production

$inputXML = $inputXML -replace 'mc:Ignorable="d"', '' -replace "x:N", 'N' -replace '^<Win.*', '<Window'
[void][System.Reflection.Assembly]::LoadWithPartialName('presentationframework')
Expand Down
14 changes: 7 additions & 7 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfApp1"
mc:Ignorable="d"
Title="Enhance Windows" Height="591" Width="464" Topmost="True">
Title="Enhance Windows" Height="325" Width="673" Topmost="True" ResizeMode="NoResize" Icon="https://raw.githubusercontent.com/OlaYZen/Enhance-Windows/Pre-Release-v1.1.7/Enhance%20Windows.png">
<Grid>
<TabControl>
<TabItem x:Name="Tab1" Header="Taskbar Settings">
Expand All @@ -18,9 +18,9 @@
<CheckBox x:Name="Unpin_Ink_Workspace" Content="Unpin Ink Workspace" HorizontalAlignment="Left" Margin="10,145,0,0" VerticalAlignment="Top" IsChecked="False"/>
<CheckBox x:Name="Unpin_Touch_Keyboard" Content="Unpin Touch Keyboard" HorizontalAlignment="Left" Margin="10,165,0,0" VerticalAlignment="Top" IsChecked="False"/>
<CheckBox x:Name="Unpin_All_Above" Content="Unpin All Above" HorizontalAlignment="Left" Margin="10,185,0,0" VerticalAlignment="Top" IsChecked="False"/>
<Label x:Name="ExplainingLabel" Content="Windows Explorer might open after checking the boxes. Just close it" HorizontalAlignment="Left" Margin="10,469,0,0" VerticalAlignment="Top"/>
<Label x:Name="label_22h2" Content="Start Menu 22H2" HorizontalAlignment="Left" Margin="10,185,0,0" VerticalAlignment="Top" FontSize="30" FontWeight="Bold"/>
<Grid x:Name="GridGroupBox" VerticalAlignment="Top" Height="87" Margin="10,240,207,0">
<Label x:Name="ExplainingLabel" Content="Windows Explorer might open after checking the boxes. Just close it" HorizontalAlignment="Left" Margin="10,228,0,0" VerticalAlignment="Top"/>
<Label x:Name="label_22h2" Content="Start Menu 22H2" HorizontalAlignment="Right" Margin="0,10,57,0" VerticalAlignment="Top" FontSize="30" FontWeight="Bold" RenderTransformOrigin="1.16,-0.266"/>
<Grid x:Name="GridGroupBox" VerticalAlignment="Top" Height="87" Margin="359,55,57,0">
<RadioButton x:Name="RadioButton1" Content="Default" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
<RadioButton x:Name="RadioButton2" Content="More Pins" HorizontalAlignment="Left" Margin="10,30,0,0" VerticalAlignment="Top"/>
<RadioButton x:Name="RadioButton3" Content="More Recommendations" HorizontalAlignment="Left" Margin="10,50,0,0" VerticalAlignment="Top"/>
Expand All @@ -36,11 +36,11 @@
<TabItem x:Name="Tab2" Header="Explorer Settings">
<Grid Background="White">
<Label x:Name="Label2" Content="Explorer Settings" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="2"/>
<Label x:Name="ExplainingLabel2" Content="Windows Explorer might open after checking the boxes. Just close it" HorizontalAlignment="Left" Margin="10,469,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2"/>
<CheckBox x:Name="HiddenFiles" Content="Show Hidden Files in Explorer" HorizontalAlignment="Left" Margin="10,65,0,0" VerticalAlignment="Top" IsChecked="False" Grid.ColumnSpan="2" Width="179"/>
<CheckBox x:Name="FileExtensions" Content="Show File Extensions in Explorer" HorizontalAlignment="Left" Margin="10,85,0,0" VerticalAlignment="Top" IsChecked="False" Grid.ColumnSpan="2"/>
<CheckBox x:Name="ItemBoxes" Content="Item Check Boxes" HorizontalAlignment="Left" Margin="10,105,0,0" VerticalAlignment="Top" IsChecked="False" Grid.ColumnSpan="2"/>
<CheckBox x:Name="CompactView" Content="Compact View in Explorer" HorizontalAlignment="Left" Margin="10,125,0,0" VerticalAlignment="Top" IsChecked="False"/>
<Label x:Name="ExplainingLabel2" Content="Windows Explorer might open after checking the boxes. Just close it" HorizontalAlignment="Left" Margin="10,228,0,0" VerticalAlignment="Top"/>
</Grid>
</TabItem>
<TabItem x:Name="Tab3" Header="Windows Settings">
Expand All @@ -63,8 +63,8 @@
<TabItem x:Name="Tab5" Header="Version">
<Grid Background="White">
<Label x:Name="Label5" Content="Version" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontSize="30" FontWeight="Bold" Grid.ColumnSpan="2"/>
<Label x:Name="OSLabel" Content="Windows Detector" HorizontalAlignment="Left" Margin="10,469,0,0" VerticalAlignment="Top"/>
<Label x:Name="ExplainingLabel_Copy1" Content="Version 1.1.7 (Build 1170.01)" HorizontalAlignment="Left" Margin="279,469,0,0" VerticalAlignment="Top"/>
<Label x:Name="OSLabel" Content="Windows Detector" HorizontalAlignment="Left" Margin="10,228,0,0" VerticalAlignment="Top"/>
<Label x:Name="ExplainingLabel_Copy1" Content="Version 1.1.7 (Build 1171.01)" HorizontalAlignment="Right" Margin="0,228,10,0" VerticalAlignment="Top"/>
</Grid>
</TabItem>
</TabControl>
Expand Down

0 comments on commit 683f364

Please sign in to comment.