refactor AppImage deployment and enhance device pairing logic

- Updated AppImage zip path in build workflow.
- Updated submodule references for ipatool-go and zupdater.
- Fix deploy-appimage.sh by manully deploying geoservices plugin
- Added retry logic for app downloads in AppDownloadBaseDialog.
- Fixed cancel download functionality in AppStoreManager.
- Added default jailbroken root password settings in SettingsManager and UI.
- Updated device sidebar item selection handling.
- General code cleanup and UI improvements across various components.
This commit is contained in:
uncor3
2025-11-23 04:47:38 +00:00
parent 6d2e0d6f41
commit ebd256eae0
21 changed files with 269 additions and 82 deletions
+8 -5
View File
@@ -35,6 +35,11 @@ DevDiskImageHelper::DevDiskImageHelper(iDescriptorDevice *device,
setAttribute(Qt::WA_DeleteOnClose);
setWindowTitle("Developer Disk Image - iDescriptor");
setupUI();
connect(this, &QDialog::accepted, this,
[this]() { emit mountingCompleted(true); });
connect(this, &QDialog::rejected, this,
[this]() { emit mountingCompleted(false); });
}
void DevDiskImageHelper::setupUI()
@@ -55,8 +60,8 @@ void DevDiskImageHelper::setupUI()
// Status label
m_statusLabel = new QLabel("Checking developer disk image...");
m_statusLabel->setAlignment(Qt::AlignCenter);
m_statusLabel->setWordWrap(true);
m_statusLabel->setAlignment(Qt::AlignCenter);
mainLayout->addWidget(m_statusLabel);
// Button layout
@@ -107,6 +112,7 @@ void DevDiskImageHelper::start()
finishWithError("Failed to download compatible image.");
}
});
qDebug() << "isMountAvailable:" << isMountAvailable;
if (!isMountAvailable) {
finishWithError("Failed to download compatible image.");
}
@@ -273,14 +279,11 @@ void DevDiskImageHelper::showStatus(const QString &message, bool isError)
void DevDiskImageHelper::finishWithSuccess()
{
m_loadingIndicator->stop();
emit mountingCompleted(true);
QTimer::singleShot(0, this, [this]() { accept(); });
accept();
}
void DevDiskImageHelper::finishWithError(const QString &errorMessage)
{
m_loadingIndicator->stop();
showStatus(errorMessage, true);
emit mountingCompleted(false);
}