Skip to content

Commit 139b2a4

Browse files
committed
2.2.0.0
1 parent 8329a50 commit 139b2a4

4 files changed

Lines changed: 36 additions & 4 deletions

File tree

CustomizePlus.GameData/packages.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"FlatSharp.Runtime": "[7.9.0, )",
9292
"Luna": "[1.0.0, )",
9393
"Penumbra.Api": "[5.15.1, )",
94-
"Penumbra.String": "[1.0.7, )"
94+
"Penumbra.String": "[1.0.8, )"
9595
}
9696
},
9797
"penumbra.string": {

CustomizePlus/Core/Helpers/VersionHelper.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,25 @@ public static bool IsTrustedBuild(IDalamudPluginInterface pi) =>
5454

5555
public static string GetInstallationSource(IDalamudPluginInterface pi)
5656
{
57-
return $"{pi.SourceRepository} ({pi.AssemblyLocation.Directory?.FullName ?? "Unknown directory"})";
57+
var path = pi.AssemblyLocation.Directory?.FullName;
58+
59+
try
60+
{
61+
if (!string.IsNullOrEmpty(path))
62+
{
63+
path = Path.GetFullPath(path);
64+
65+
//we don't want to expose windows username if we can
66+
var appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
67+
if (path.StartsWith(appData, StringComparison.OrdinalIgnoreCase))
68+
path = path.Replace(appData, "%AppData%", StringComparison.OrdinalIgnoreCase);
69+
}
70+
}
71+
catch (Exception ex)
72+
{
73+
path = "Unable to obtain installation directory";
74+
}
75+
76+
return $"{pi.SourceRepository} ({path ?? "Unknown installation directory"})";
5877
}
5978
}

CustomizePlus/UI/Windows/CPlusChangeLog.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public CPlusChangeLog(PluginConfiguration configuration)
4242
Add2_0_9_0(Changelog);
4343
Add2_1_0_0(Changelog);
4444
Add2_1_1_0(Changelog);
45+
Add2_2_0_0(Changelog);
4546
}
4647

4748
private (int, ChangeLogDisplayType) ConfigData()
@@ -54,7 +55,19 @@ private void Save(int version, ChangeLogDisplayType type)
5455
_configuration.Save();
5556
}
5657

57-
// i know it's ugly but luna changelog api does expect u8 !!
58+
59+
private static void Add2_2_0_0(Changelog log)
60+
=> log.NextVersion("Version 2.2.0.0"u8)
61+
.RegisterImportant("Support for 7.5 and Dalamud API 15. (by Abelfreyja)"u8)
62+
.RegisterHighlight("Moved plugin to Luna framework. (by Risa, initial draft by Abelfreyja, initial draft review by Exter-N)"u8)
63+
.RegisterEntry("This makes many of recent quality of life changes to Penumbra and Glamourer user interface available to Customize+ users."u8, 1)
64+
.RegisterImportant("While we had an extensive testing campaign there might be some issues, please report any bugs you encounter."u8, 1)
65+
.RegisterEntry("Added axis colors for the columns in the bone editor. (by Abelfreyja)"u8)
66+
.RegisterEntry("Fixed \"unsaved changes\" window layout breaking on different resolutions/UI scales. (by NalaPraline) (2.1.1.2)"u8)
67+
.RegisterImportant("If you have used any unofficial builds of the plugin you might experience data loss, crashes or other issues. This is not an issue with the plugin and should not be reported."u8)
68+
.RegisterImportant("Using synchronization plugins to sync with users using unofficial builds of the plugin might lead to crashes."u8, 1)
69+
.RegisterImportant("For additional information please refer to announcements in Support Discord. (available via button in Settings page)"u8, 1);
70+
5871
private static void Add2_1_1_0(Changelog log)
5972
=> log.NextVersion("Version 2.1.1.0"u8)
6073
.RegisterEntry("Added button to export the entire profile as a single template. (by MBadea21)"u8);

repo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"TestingAssemblyVersion": "2.1.1.10",
1010
"RepoUrl": "https://github.com/Aether-Tools/CustomizePlus",
1111
"ApplicableVersion": "any",
12-
"DalamudApiLevel": 14,
12+
"DalamudApiLevel": 15,
1313
"TestingDalamudApiLevel": 15,
1414
"IsHide": "False",
1515
"IsTestingExclusive": "False",

0 commit comments

Comments
 (0)