Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 6b15bef

Browse files
authored
Fix converted mods being deleted (#69)
1 parent 0009d49 commit 6b15bef

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,3 +479,4 @@ fabric.properties
479479
# Android studio 3.1+ serialized cache file
480480
.idea/caches/build_file_checksums.ser
481481

482+
.codiumai

PenumbraModForwarder.Common/Services/PenumbraInstallerService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private string ConvertToDt(string modPath)
119119

120120
if (!_configurationService.GetConfigValue(config => config.AutoDelete)) return dtPath;
121121

122-
File.Delete(dtPath);
122+
File.Delete(modPath);
123123
_logger.LogInformation($"Deleted original mod: {modPath}");
124124

125125
return dtPath;

0 commit comments

Comments
 (0)