@@ -44,14 +44,15 @@ public static class Constants
4444 $ "%music%/%artist%/[%year% - ]%album%[ '('disc %discnumberandname%')'][' ('%releasedateandlabel%')'][' ('%unique%')']/%artist% - %album%{ CueExtension } "
4545 ] ;
4646 public const int MaxPathFormats = 10 ; // Based on the original CUERipper limit
47-
48- public const string ApplicationName = $ "CUERipper.Avalonia { CUESheet . CUEToolsVersion } ";
47+
48+ public const string ApplicationShortName = "CUERipper" ;
49+ public const string ApplicationName = $ "{ ApplicationShortName } .Avalonia { CUESheet . CUEToolsVersion } ";
4950
5051 public const string PathNoto = "avares://CUERipper.Avalonia/Assets/noto-emoji/32/" ;
5152
5253 public const int HiResImageMaxDimension = 2048 ;
5354
54- public const string UserAgent = "Mozilla/5.0 ";
55+ public const string UserAgent = $ " { ApplicationShortName } / { CUESheet . CUEToolsVersion } ( https://github.com/gchudov/cuetools.net ) ";
5556 public const string GithubApiUri = "https://api.github.com/repos/UnknownException/cuetools.net/releases" ;
5657 // "https://api.github.com/repos/gchudov/cuetools.net/releases"
5758 public const string GithubBranch = "cueripper-avalonia" ; // "master"
@@ -60,14 +61,12 @@ public static class Constants
6061
6162 public const char NullDrive = '\0 ' ;
6263
63-
64- public const string ApplicationUserContentFolder = "CUERipper" ;
6564#if NET47
6665 public static readonly string ApplicationPath = AppDomain . CurrentDomain . BaseDirectory ;
6766#else
6867 public static readonly string ApplicationPath = Environment . ProcessPath ?? throw new NullReferenceException ( "Can't determine path." ) ;
6968#endif
70- public static readonly string ProfileDir = SettingsShared . GetProfileDir ( ApplicationUserContentFolder , ApplicationPath ) ;
69+ public static readonly string ProfileDir = SettingsShared . GetProfileDir ( ApplicationShortName , ApplicationPath ) ;
7170
7271 public static readonly string PathImageCache = Path . Combine ( ProfileDir , ".AlbumCache/" ) ;
7372 public static readonly string PathUpdateFolder = Path . Combine ( ProfileDir , ".cueupdate/" ) ;
0 commit comments