feat: remove existing mod when updating/redownloading it

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-06-10 16:43:01 -03:00
parent 1709b47bb7
commit dfab55112b
7 changed files with 44 additions and 3 deletions

View File

@ -37,6 +37,9 @@ class LocalModUpdateTask : public Task {
//! Entry point for tasks.
void executeTask() override;
signals:
void hasOldMod(QString name, QString filename);
private:
QDir m_index_dir;
ModPlatform::IndexedPack& m_mod;