Skip to content

Commit bedf945

Browse files
committed
Revert "Add Create Bootable USB (#18)"
This reverts commit 64babfe.
1 parent 1c1c2ce commit bedf945

File tree

3 files changed

+0
-66
lines changed

3 files changed

+0
-66
lines changed

functions/microwin/Invoke-Microwin.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public class PowerManagement {
5555
Write-Host "Index chosen: '$index' from $($sync.MicrowinWindowsFlavors.SelectedValue)"
5656

5757
$copyToUSB = $sync.WPFMicrowinCopyToUsb.IsChecked
58-
$bootable = $sync.WPFMicrowinBootable.IsChecked
5958
$injectDrivers = $sync.MicrowinInjectDrivers.IsChecked
6059
$importDrivers = $sync.MicrowinImportDrivers.IsChecked
6160

@@ -631,12 +630,6 @@ public class PowerManagement {
631630
if ($?) { Write-Host "Done Copying target ISO to USB drive!" } else { Write-Host "ISO copy failed." }
632631
}
633632

634-
if ($bootable) {
635-
Write-Host "Making Bootable USB drive"
636-
Microwin-BootableUSB("$($SaveDialog.FileName)")
637-
if ($?) { Write-Host "Done making bootable USB drive!" } else { Write-Host "Bootable USB creation failed." }
638-
}
639-
640633
Write-Host " _____ "
641634
Write-Host "(____ \ "
642635
Write-Host " _ \ \ ___ ____ ____ "

functions/microwin/Microwin-BootableUSB.ps1

Lines changed: 0 additions & 58 deletions
This file was deleted.

xaml/inputXML.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,6 @@
14591459
<CheckBox Name="MicrowinCopyVirtIO" Content="Include VirtIO drivers" Margin="{DynamicResource MicrowinCheckBoxMargin}" IsChecked="False" ToolTip="Copy VirtIO Guest Tools drivers to your ISO file. Check this only if you want to use it on QEMU/Proxmox VE"/>
14601460
<Rectangle Fill="{DynamicResource MainForegroundColor}" Height="2" HorizontalAlignment="Stretch" Margin="0,10,0,10"/>
14611461
<CheckBox Name="WPFMicrowinCopyToUsb" Content="Copy to Ventoy" Margin="{DynamicResource MicrowinCheckBoxMargin}" IsChecked="False" ToolTip="Copy to USB disk with a label Ventoy"/>
1462-
<CheckBox Name="WPFMicrowinBootable" Content="Make Bootable USB" Margin="{DynamicResource MicrowinCheckBoxMargin}" IsChecked="False" ToolTip="Make the USB drive bootable"/>
14631462
<Rectangle Fill="{DynamicResource MainForegroundColor}" Height="2" HorizontalAlignment="Stretch" Margin="0,10,0,10"/>
14641463
<TextBlock Margin="6" Padding="1" TextWrapping="Wrap"><Bold>Custom user settings (leave empty for default user)</Bold></TextBlock>
14651464
<TextBlock Margin="6" Padding="1" TextWrapping="Wrap">User name (20 characters max.):</TextBlock>

0 commit comments

Comments
 (0)