Compare commits

..

No commits in common. "23c0506cb875f8613513f4169630eeb6549cc6ef" and "eb53f04c6b2b88806227981fdbc8c53f193e0ada" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View file

@ -151,7 +151,7 @@ public class HttpApi : IDisposable, IApiService
if (data.State.HasValue) if (data.State.HasValue)
api.ModSettings.TrySetMod(collection, data.ModPath, data.ModName, data.State.Value); api.ModSettings.TrySetMod(collection, data.ModPath, data.ModName, data.State.Value);
if (data.Priority.HasValue) if (data.Priority.HasValue)
api.ModSettings.TrySetModPriority(collection, data.ModPath, data.ModName, data.Priority.Value); api.ModSettings.TrySetModPriority(collection, data.ModPath, data.ModName, data.Priority.Value.Value);
foreach (var (group, settings) in data.Settings ?? []) foreach (var (group, settings) in data.Settings ?? [])
api.ModSettings.TrySetModSettings(collection, data.ModPath, data.ModName, group, settings); api.ModSettings.TrySetModSettings(collection, data.ModPath, data.ModName, group, settings);
} }
@ -192,7 +192,7 @@ public class HttpApi : IDisposable, IApiService
string ModName, string ModName,
bool? Inherit, bool? Inherit,
bool? State, bool? State,
int? Priority, ModPriority? Priority,
Dictionary<string, List<string>>? Settings) Dictionary<string, List<string>>? Settings)
{ {
public SetModSettingsData() public SetModSettingsData()

View file

@ -6,7 +6,7 @@
"Description": "Runtime mod loader and manager.", "Description": "Runtime mod loader and manager.",
"InternalName": "Penumbra", "InternalName": "Penumbra",
"AssemblyVersion": "1.5.1.2", "AssemblyVersion": "1.5.1.2",
"TestingAssemblyVersion": "1.5.1.5", "TestingAssemblyVersion": "1.5.1.4",
"RepoUrl": "https://github.com/xivdev/Penumbra", "RepoUrl": "https://github.com/xivdev/Penumbra",
"ApplicableVersion": "any", "ApplicableVersion": "any",
"DalamudApiLevel": 13, "DalamudApiLevel": 13,
@ -19,7 +19,7 @@
"LoadRequiredState": 2, "LoadRequiredState": 2,
"LoadSync": true, "LoadSync": true,
"DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.5.1.2/Penumbra.zip", "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/1.5.1.2/Penumbra.zip",
"DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/testing_1.5.1.5/Penumbra.zip", "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/testing_1.5.1.4/Penumbra.zip",
"DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.5.1.2/Penumbra.zip", "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/1.5.1.2/Penumbra.zip",
"IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png" "IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png"
} }