mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add default AssetDirectory to injector
This commit is contained in:
parent
e27ae3fd0c
commit
dde7743e73
1 changed files with 3 additions and 1 deletions
|
|
@ -170,6 +170,7 @@ namespace Dalamud.Injector {
|
||||||
ConfigurationPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "dalamudConfig.json"),
|
ConfigurationPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "dalamudConfig.json"),
|
||||||
PluginDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "installedPlugins"),
|
PluginDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "installedPlugins"),
|
||||||
DefaultPluginDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "devPlugins"),
|
DefaultPluginDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "devPlugins"),
|
||||||
|
AssetDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "XIVLauncher", "dalamudAssets"),
|
||||||
|
|
||||||
GameVersion = File.ReadAllText(Path.Combine(ffxivDir, "ffxivgame.ver")),
|
GameVersion = File.ReadAllText(Path.Combine(ffxivDir, "ffxivgame.ver")),
|
||||||
Language = ClientLanguage.English
|
Language = ClientLanguage.English
|
||||||
|
|
@ -181,7 +182,8 @@ namespace Dalamud.Injector {
|
||||||
$"DefaultPluginDirectory: {startInfo.DefaultPluginDirectory}\n" +
|
$"DefaultPluginDirectory: {startInfo.DefaultPluginDirectory}\n" +
|
||||||
$"Language: {startInfo.Language}\n" +
|
$"Language: {startInfo.Language}\n" +
|
||||||
$"GameVersion: {startInfo.GameVersion}\n" +
|
$"GameVersion: {startInfo.GameVersion}\n" +
|
||||||
$"OptOutMbCollection: {startInfo.OptOutMbCollection}");
|
$"OptOutMbCollection: {startInfo.OptOutMbCollection}" +
|
||||||
|
$"AssetDirectory: {startInfo.AssetDirectory}");
|
||||||
|
|
||||||
return startInfo;
|
return startInfo;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue