Skip to content

Commit 14087bb

Browse files
committed
The installer now automatically changes the boot order in the installer.js util
1 parent d9ea65a commit 14087bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/util/installer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const mountAndInstallBootloader = async (disk, partition) => {
8282
cp -r ${bootloaderPath}/* $mount_point/EFI
8383
echo "${config}" > $mount_point/EFI/CLOVER/config.plist
8484
efibootmgr -c -d ${disk} -p ${partition} -L "Clover Bootloader" -l "\\EFI\\BOOT\\BOOTX64.efi"
85+
efibootmgr -o $(efibootmgr | grep "Clover Bootloader" | grep -oP "(?<=Boot)([0-9]+)")
8586
`;
8687

8788
fs.writeFileSync(path.join(INSTALLATION_PATH, 'install.sh'), bashCommand);

0 commit comments

Comments
 (0)