Skip to content

Commit

Permalink
Hotfix release for Link Utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrKnarz committed Mar 21, 2023
1 parent 7507aab commit f3648b6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Common/KNARZhelper/StringHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ public static string RemoveEditionSuffix(this string str)
regExOptions |= RegexOptions.Compiled;
Regex ignoredEndWordsRegex = new Regex(@"(\s*[:-])?(\s+([a-z']+\s+(edition|cut)|hd|collection|remaster(ed)?|remake|ultimate|anthology|game of the))+$", regExOptions | RegexOptions.IgnoreCase);
Match match = ignoredEndWordsRegex.Match(str);
return str.Remove(match.Index).Trim();

if (match.Success)
{
return str.Remove(match.Index).Trim();
}
return str;
}
}
}
4 changes: 2 additions & 2 deletions Generic/LinkUtilities/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.3.0.0")]
[assembly: AssemblyFileVersion("2.3.0.0")]
[assembly: AssemblyVersion("2.4.0.0")]
[assembly: AssemblyFileVersion("2.4.0.0")]
2 changes: 1 addition & 1 deletion Generic/LinkUtilities/extension.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Id: LinkUtilties_f692b4bb-238d-4080-ae76-4aaefde6f7a1
Name: Link Utilities
Author: HerrKnarz
Version: 2.3
Version: 2.4
Module: LinkUtilities.dll
Type: GenericPlugin
Icon: icon.png
8 changes: 8 additions & 0 deletions Manifest/HerrKnarz_LinkUtilities.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
AddonId: LinkUtilties_f692b4bb-238d-4080-ae76-4aaefde6f7a1
Packages:
- Version: 2.4
RequiredApiVersion: 6.8.0
ReleaseDate: 2023-03-21
PackageUrl: https://github.com/HerrKnarz/Playnite-Extensions/releases/download/2023-03-21/LinkUtilties_f692b4bb-238d-4080-ae76-4aaefde6f7a1_2_4.pext
Changelog:
- fixed bug that caused links to games without edition suffix not being found.
- 100% translation to Spanish (thx to darklinkpower)
- partial translation to Portuguese, Brazilian (thx SweetAnthony)
- Version: 2.3
RequiredApiVersion: 6.8.0
ReleaseDate: 2023-03-18
Expand Down

0 comments on commit f3648b6

Please sign in to comment.