diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-04 07:13:18 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:20 +0200 |
commit | 95751ea3e4da4eb9ca0a001d8238614898283ced (patch) | |
tree | abe1ea649912636925b4b890e50684df4aa4901e /osdep | |
parent | a874569db62bfe8fb134e248a12d2f3653f1c028 (diff) | |
download | mpv-95751ea3e4da4eb9ca0a001d8238614898283ced.tar.bz2 mpv-95751ea3e4da4eb9ca0a001d8238614898283ced.tar.xz |
Windows support: add a manifest file
Add a manifest file to disable file and registry "virtualization" on
Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31630 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/mplayer.exe.manifest | 19 | ||||
-rw-r--r-- | osdep/mplayer.rc | 3 |
2 files changed, 22 insertions, 0 deletions
diff --git a/osdep/mplayer.exe.manifest b/osdep/mplayer.exe.manifest new file mode 100644 index 0000000000..7a0102dc3f --- /dev/null +++ b/osdep/mplayer.exe.manifest @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <assemblyIdentity + version="0.0.9.0" + processorArchitecture="*" + name="MPlayer - The Movie Player" + type="win32" + /> + <description>MPlayer - The Movie Player</description> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges> + <requestedExecutionLevel + level="asInvoker" + /> + </requestedPrivileges> + </security> + </trustInfo> +</assembly> diff --git a/osdep/mplayer.rc b/osdep/mplayer.rc index 7e166b9c6f..97bd8d56d6 100644 --- a/osdep/mplayer.rc +++ b/osdep/mplayer.rc @@ -51,3 +51,6 @@ FILETYPE VFT_APP } IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico" + +// for some reason RT_MANIFEST does not work +1 24 "mplayer.exe.manifest" |