windows_install_folder.diff

Use the correct install folder in vista/7. - Terkhen, 2010-09-08 16:14

Download (636 Bytes)

View differences:

scripts/Makefile.def Wed Sep 08 16:04:25 2010 +0200
66 66
INSTALL_DIR?=$(HOME)/Documents/OpenTTD/$(SUB_DIR)
67 67
else
68 68
ifeq ($(shell echo "$(OSTYPE)" | cut -d_ -f1),MINGW32)
69
INSTALL_DIR?=C:\Documents and Settings\$(USERNAME)\My Documents\OpenTTD\$(SUB_DIR)
69
WIN_VER = $(shell echo "$(OSTYPE)" | cut -d- -f2 | cut -d. -f1)
70
ifeq ($(WIN_VER),5)
71
	INSTALL_DIR?=C:\Documents and Settings\All Users\Shared Documents\OpenTTD\data
72
else
73
	INSTALL_DIR?=C:\Users\Public\Documents\OpenTTD\data
74
endif
70 75
else
71 76
INSTALL_DIR?=
72 77
endif