+ Unraid USB Creator downloads a .JSON file from the Unraid OS + endpoint with a list of all current download options, ensuring you are + always installing the most up-to-date version. +
++ Once you’ve selected an operating system from the available options, + the utility reads the relevant file directly from the Unraid + website and writes it straight to the USB. The utility will then run + an OS-specific script to make the USB bootable using syslinux. +
++ During this process, Unraid USB Creator also caches the downloaded + operating system image – that is to say, it saves a local copy on your + computer, so you can create additional USBs without having to + download the file again. +
+- Raspberry Pi Imager downloads a .JSON file from the Raspberry Pi - website with a list of all current download options, ensuring you are - always installing the most up-to-date version. -
-- Once you’ve selected an operating system from the available options, - the utility reads the relevant file directly from the Raspberry Pi - website and writes it straight to the SD card. This speeds up the - process quite considerably compared to the standard process of reading - it from the website, writing it to a file on your hard drive, and then, - as a separate step, reading it back from the hard drive and writing it - to the SD card. -
-- During this process, Raspberry Pi Imager also caches the downloaded - operating system image – that is to say, it saves a local copy on your - computer, so you can program additional SD cards without having to - download the file again. -
-+ Unraid USB Creator downloads a .JSON file from the Unraid OS + endpoint with a list of all current download options, ensuring you are + always installing the most up-to-date version. +
++ Once you’ve selected an operating system from the available options, + the utility reads the relevant file directly from the Unraid + website and writes it straight to the USB. The utility will then run + an OS-specific script to make the USB bootable using syslinux. +
++ During this process, Unraid USB Creator also caches the downloaded + operating system image – that is to say, it saves a local copy on your + computer, so you can create additional USBs without having to + download the file again. +
+"+description+" - "+sizeStr+"
" - txt += "" + ColumnLayout { + spacing: 1 + + Text { + textFormat: Text.StyledText + height: parent.parent.parent.parent.height / 3 + //verticalAlignment: Text.AlignVCenter + font.family: roboto.name + font.pixelSize: 14 + text: { + var sizeStr = (size / 1000000000).toFixed(1) + " GB"; + var txt = description + " - " + sizeStr; + return txt; + } + color: dstbgrect.mouseOver ? UnColors.darkGray : "white" + opacity: enabled ? 1.0 : 0.3 + Layout.topMargin: 5 + } + Text { + textFormat: Text.StyledText + height: parent.parent.parent.parent.height / 3 + //verticalAlignment: Text.AlignVCenter + font.family: roboto.name + font.pixelSize: 12 + text: { + var txt = ""; if (mountpoints.length > 0) { - txt += qsTr("Mounted as %1").arg(mountpoints.join(", "))+" " + txt += qsTr("Mounted as %1 ").arg(mountpoints.join(", ")); } - txt += qsTr("[WRITE PROTECTED]")+"" - } else { - txt = ""+description+" - "+sizeStr+"
" - if (mountpoints.length > 0) { - txt += ""+qsTr("Mounted as %1").arg(mountpoints.join(", "))+"" + if (isReadOnly) { + txt += qsTr("[WRITE PROTECTED]"); } + return txt; } - return txt; + color: dstbgrect.mouseOver ? UnColors.darkGray : "white" + opacity: enabled ? 1.0 : 0.3 + anchors.topMargin: 10 } - } - } - } - - MouseArea { - anchors.fill: parent - cursorShape: Qt.PointingHandCursor - hoverEnabled: true - - onEntered: { - dstbgrect.mouseOver = true - } - onExited: { - dstbgrect.mouseOver = false - } + RowLayout { + spacing: 4 + Layout.alignment: Qt.AlignVCenter + + Text { + textFormat: Text.StyledText + font.family: roboto.name + font.pixelSize: 12 + Layout.alignment: Qt.AlignVCenter + color: dstbgrect.mouseOver ? UnColors.darkGray : "white" + opacity: enabled ? 1.0 : 0.3 + text: { + if (guid != "") { + return guidValid ? qsTr("GUID: %1").arg(guid) : qsTr("GUID: %1 [BLACKLISTED]").arg(guid); + } else { + return qsTr("[MISSING GUID - Choose Another Flash Device]"); + } + } + } - onClicked: { - selectDstItem(model) + ToolButton { + icon.source: dstbgrect.mouseOver ? "unraid/icons/info_dark_gray.svg" : "unraid/icons/info_orange.svg" + icon.color: "transparent" + icon.width: 16 + icon.height: 16 + Layout.alignment: Qt.AlignVCenter + padding: 0 + implicitWidth: icon.width + implicitHeight: icon.height + visible: guid != "" && !guidValid + hoverEnabled: true + ToolTip.visible: hovered + ToolTip.text: qsTr("This USB device is blacklisted. You may not be able to use this device to get an Unraid license or trial.") + } + } + } } } } @@ -1129,19 +1389,34 @@ ApplicationWindow { MsgPopup { id: msgpopup onOpened: { - forceActiveFocus() + forceActiveFocus(); + } + onInstallGuide: { + imageWriter.openUrl("https://docs.unraid.net/go/quick-install-guide"); } } + MsgPopup { + id: infopopup + x: 50 + width: parent.width - 100 + continueButton: false + yesButton: false + noButton: false + title: qsTr("About") + body.onLinkActivated: imageWriter.openUrl(link) + text: qsTr("License, Credits, and History: ") + "https://github.com/unraid/usb-creator-next