From 71fec8eccfd19a82caaea47ad711edf5eedae4bc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 24 Aug 2024 01:41:09 +0200 Subject: [PATCH] Add file system driver for dual boot --- scripts/Windows/OS/Install.ps1 | 4 ++++ scripts/Windows/Software/Ext4Fsd/Main.ps1 | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 scripts/Windows/Software/Ext4Fsd/Main.ps1 diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index 3968e821..025bdbdd 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -330,6 +330,10 @@ $null = New-Module { & "$commonSoftware/Terminal-Icons/Manage.ps1" @arguments; & "$softwarePath/Oh My Posh/Manage.ps1" @arguments; + if (Get-Config "valhalla.windows.dualboot") { + & "$softwarePath/Ext4Fsd/Main.ps1" @arguments; + } + if ($install) { Install-ChocoPackage ` procexp ` diff --git a/scripts/Windows/Software/Ext4Fsd/Main.ps1 b/scripts/Windows/Software/Ext4Fsd/Main.ps1 new file mode 100644 index 00000000..a21db88c --- /dev/null +++ b/scripts/Windows/Software/Ext4Fsd/Main.ps1 @@ -0,0 +1,12 @@ +param ( + $Action, + [hashtable] $Arguments +) + +. "$PSScriptRoot/../../../Common/Scripts/Software.ps1"; +. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1"; + +Start-SoftwareInstaller @PSBoundParameters ` + -Installer { + Install-SetupPackage "https://github.com/bobranten/Ext4Fsd/releases/download/v0.71/Ext2Fsd-0.71-setup.exe"; + };