Remove ZuneInstallDir property from base Mod

This commit is contained in:
Yoshi Askharoun
2025-09-02 00:26:45 -07:00
parent 7cc9d8aa8f
commit beee8543cf
6 changed files with 42 additions and 19 deletions
-4
View File
@@ -8,12 +8,8 @@ namespace ZuneModCore;
public abstract class Mod(ModMetadata metadata)
{
public static string DefaultZuneInstallDir { get; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Zune");
public ModMetadata Metadata { get; } = metadata;
public string ZuneInstallDir { get; set; } = DefaultZuneInstallDir;
public virtual AbstractUICollection? GetDefaultOptionsUI() => null;
public abstract Task<string?> Apply();