diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-08 15:02:05 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-08 15:02:05 +0000 |
commit | f59682f2109f72d100234fb65efe225090cd700e (patch) | |
tree | 0d1f93c0c823c653061da9ccc86c3751c2f3e66b /src/media/UVideo.pas | |
parent | a0e97b366ba31bbd15d2b89d989831a1948d3c4c (diff) | |
download | usdx-f59682f2109f72d100234fb65efe225090cd700e.tar.gz usdx-f59682f2109f72d100234fb65efe225090cd700e.tar.xz usdx-f59682f2109f72d100234fb65efe225090cd700e.zip |
changed local/global execution detection:
* Detects whether the was executed locally or globally.
* - Local mode:
* - Condition:
* - config.ini is writable or creatable in the directory of the executable.
* - Examples:
* - The USDX zip-archive has been unpacked to a directory with write.
* permissions
* - XP: USDX was installed to %ProgramFiles% and the user is an admin.
* - USDX is started from an external HD- or flash-drive
* - Behavior:
* Config files like config.ini or score db reside in the directory of the
* executable. This is useful to enable windows users to have a portable
* installation e.g. on an external hdd.
* This is also the default behaviour of usdx prior to version 1.1
* - Global mode:
* - Condition:
* - config.ini is not writable.
* - Examples:
* - Vista/7: USDX was installed to %ProgramFiles%.
* - XP: USDX was installed to %ProgramFiles% and the user is not an admin.
* - USDX is started from CD
* - Behavior:
* - The config files are in a separate folder (e.g. %APPDATA%\ultrastardx)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2344 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media/UVideo.pas')
0 files changed, 0 insertions, 0 deletions