From 0c277228310b0135d1fb40065637e1f8a3dad504 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 30 Sep 2019 21:37:13 -1000 Subject: [PATCH] Use .done file to detect extraction complete --- hecl-gui/MainWindow.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hecl-gui/MainWindow.cpp b/hecl-gui/MainWindow.cpp index 75cf18103..6fbdc7749 100644 --- a/hecl-gui/MainWindow.cpp +++ b/hecl-gui/MainWindow.cpp @@ -320,7 +320,7 @@ void MainWindow::enableOperations() { m_ui->launchBtn->setText(tr("Launch")); m_ui->extractBtn->setEnabled(true); - if (QFile::exists(m_path + QStringLiteral("/MP1/!original_ids.yaml"))) { + if (QFile::exists(m_path + QStringLiteral("/MP1/.done"))) { m_ui->packageBtn->setEnabled(true); if (isPackageComplete()) m_ui->launchBtn->setEnabled(true); @@ -339,9 +339,6 @@ void MainWindow::enableOperations() { bool MainWindow::isPackageComplete() const { return -#if RUNTIME_ORIGINAL_IDS - QFile::exists(m_path + QStringLiteral("/out/files/!original_ids.upak")) && -#endif QFile::exists(m_path + QStringLiteral("/out/files/AudioGrp.upak")) && QFile::exists(m_path + QStringLiteral("/out/files/GGuiSys.upak")) && QFile::exists(m_path + QStringLiteral("/out/files/Metroid1.upak")) &&