Fix updating existing mods

Replace wrename, that fails when mod exists already with RenameFile by
@Stan
Check if mod was actually installed when downloading it
error if mod cannot be coppied into modTemp

Differential revision: D4222
This was SVN commit r25854.
This commit is contained in:
Angen
2021-08-22 11:35:34 +00:00
parent 83bb6f3ed5
commit 52baaa4bbd
6 changed files with 48 additions and 8 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ public:
FAIL_ON_PARSE_JSON,
FAIL_ON_EXTRACT_NAME,
FAIL_ON_MOD_MOVE,
FAIL_ON_JSON_WRITE
FAIL_ON_JSON_WRITE,
FAIL_ON_MOD_COPY
};
/**