From c692c8a5e082bd02bd7dc7feb6e3f0056ea75f0b Mon Sep 17 00:00:00 2001 From: tobigun Date: Mon, 19 Apr 2010 16:09:09 +0000 Subject: - added manifest file to make ultrastardx UAC aware - this leverages usdx from a legacy app to a vista/win7 compatible app - disables the virtual-store and other dirty UAC legacy app stuff - checking for read-only files should work now - the manifest is embedded in the exe via the RC file (which previously only contained the icon) - alternatively the file ultrastardx.exe.manifest can be put in the game directory along with the .exe file. Vista/Win7 will autodetect this file. - to check if this works: - open the task-manager - right click on ultrastardx - if "UAC-Virtualization" is checked, the app is still executed in legacy mode which should not happen. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2249 b956fd51-792f-4845-bead-9b4dfca2ff2c --- res/rccompile-fpc.bat | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 res/rccompile-fpc.bat (limited to 'res/rccompile-fpc.bat') diff --git a/res/rccompile-fpc.bat b/res/rccompile-fpc.bat new file mode 100644 index 00000000..fc31fd4d --- /dev/null +++ b/res/rccompile-fpc.bat @@ -0,0 +1,4 @@ +@set PATH=C:\Programme\lazarus\fpc\2.2.4\bin\i386-win32\;%PATH% +@set RES_NAME=ultrastardx +windres.exe -i %RES_NAME%.rc -o %RES_NAME%.res + -- cgit v1.2.3