Skip to content

Commit

Permalink
Update copyright + force resource.rc to be UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaily committed Apr 28, 2020
1 parent e520ab1 commit 6f3050f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion managed-plugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("xmp-sharp-scrobbler-managed")]
[assembly: AssemblyCopyright("Copyright © Melvyn Laïly 2015-2019")]
[assembly: AssemblyCopyright("Copyright © Melvyn Laïly 2015-2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
5 changes: 3 additions & 2 deletions native-plugin/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
#define PLUGIN_FRIENDLY_NAME "XMPlay Sharp Scrobbler"
#define PLUGIN_VERSION 0,6,0,0
#define PLUGIN_VERSION_STRING "0.6.0.0"
#define PLUGIN_COPYRIGHT_STRING "Copyright (C) Melvyn Laïly 2016-2020"
#define IDD_ABOUT 1001
#define IDC_ABOUT_DOTNET_LINK 1002
#define ABOUT_DIALOG_TEXT PLUGIN_FRIENDLY_NAME "\n\nA Last.fm scrobbling plugin for XMPlay.\n\nVersion " PLUGIN_VERSION_STRING \
" - 2019\n\nBy Melvyn Laïly\n\nThis plugin requires the .Net Framework 4.6 to be installed to run.\n\n<a>Download .Net 4.6</a>"
#define ABOUT_DIALOG_TEXT PLUGIN_FRIENDLY_NAME "\n\nA Last.fm scrobbling plugin for XMPlay.\n\nVersion " PLUGIN_VERSION_STRING "\n" \
PLUGIN_COPYRIGHT_STRING "\n\nThis plugin requires the .NET Framework 4.6 or superior.\n\n<a>Download .Net 4.6</a>"

// Gather information required to scrobble a track.
// All the text fields are expected to be UTF-16.
Expand Down
10 changes: 6 additions & 4 deletions native-plugin/resource.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Microsoft Visual C++ generated resource script.
//

// UTF-8 without BOM (?)
#pragma code_page(65001)

#include "windows.h"
#include "resource.h"
#include "main.h"
Expand Down Expand Up @@ -41,10 +43,10 @@ BEGIN
BEGIN
BLOCK "040004b0"
BEGIN
VALUE "CompanyName", "Melvyn La�ly"
VALUE "CompanyName", "Melvyn Laïly"
VALUE "FileDescription", "XMPlay scrobbling plugin"
VALUE "FileVersion", PLUGIN_VERSION_STRING
VALUE "LegalCopyright", "Copyright (C) Melvyn La�ly 2016-2019"
VALUE "LegalCopyright", PLUGIN_COPYRIGHT_STRING
VALUE "ProductName", PLUGIN_FRIENDLY_NAME
VALUE "ProductVersion", PLUGIN_VERSION_STRING
END
Expand Down

0 comments on commit 6f3050f

Please sign in to comment.