summaryrefslogtreecommitdiffstats
path: root/osdep/mpv.rc
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/mpv.rc')
-rw-r--r--osdep/mpv.rc50
1 files changed, 50 insertions, 0 deletions
diff --git a/osdep/mpv.rc b/osdep/mpv.rc
new file mode 100644
index 0000000..7deb785
--- /dev/null
+++ b/osdep/mpv.rc
@@ -0,0 +1,50 @@
+/*
+ * This file is part of mpv.
+ *
+ * mpv is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * mpv is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with mpv. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <winver.h>
+#include "version.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 2, 0, 0, 0
+ PRODUCTVERSION 2, 0, 0, 0
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS 0
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0
+ {
+ BLOCK "StringFileInfo" {
+ BLOCK "000004b0" {
+ VALUE "Comments", "mpv is distributed under the terms of the GNU General Public License Version 2 or later."
+ VALUE "CompanyName", "mpv"
+ VALUE "FileDescription", "mpv"
+ VALUE "FileVersion", VERSION
+ VALUE "LegalCopyright", MPVCOPYRIGHT
+ VALUE "OriginalFilename", "mpv.exe"
+ VALUE "ProductName", "mpv"
+ VALUE "ProductVersion", VERSION
+ }
+ }
+ BLOCK "VarFileInfo" {
+ VALUE "Translation", 0, 1200
+ }
+ }
+
+IDI_ICON1 ICON DISCARDABLE "etc/mpv-icon.ico"
+
+// for some reason RT_MANIFEST does not work
+1 24 "mpv.exe.manifest"