mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 15:50:26 +00:00
Bumped versnion in the name of userdata dir...
...and removed some cruft in windows installer script.
This commit is contained in:
parent
1d17374b7a
commit
493df6d073
11
packaging/windows/Wesnoth.nsi.in
Normal file → Executable file
11
packaging/windows/Wesnoth.nsi.in
Normal file → Executable file
@ -24,7 +24,7 @@
|
|||||||
;Variables
|
;Variables
|
||||||
|
|
||||||
Var StartMenuFolder
|
Var StartMenuFolder
|
||||||
!define UserdataDir Wesnoth1.6
|
!define UserdataDir Wesnoth1.7
|
||||||
Var UserdataFlags
|
Var UserdataFlags
|
||||||
|
|
||||||
;Userdata page variables
|
;Userdata page variables
|
||||||
@ -161,13 +161,6 @@ Section "Battle for Wesnoth" BfWSection
|
|||||||
|
|
||||||
%NSIS_INSTALL_FILES
|
%NSIS_INSTALL_FILES
|
||||||
|
|
||||||
; install python stuff
|
|
||||||
SetOutPath "$INSTDIR\Lib"
|
|
||||||
File /nonfatal /r /x .* /x *.pyc /x *.pyo Lib\*.*
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\DLLs"
|
|
||||||
File /nonfatal /r /x .* DLLs\*.*
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
|
|
||||||
;Store installation folder
|
;Store installation folder
|
||||||
@ -255,8 +248,6 @@ FunctionEnd
|
|||||||
|
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
|
|
||||||
RMDir /r "$INSTDIR\Lib"
|
|
||||||
RMDir /r "$INSTDIR\DLLs"
|
|
||||||
%NSIS_UNINSTALL_FILES
|
%NSIS_UNINSTALL_FILES
|
||||||
Delete "$INSTDIR\wesnoth_editor-icon.ico"
|
Delete "$INSTDIR\wesnoth_editor-icon.ico"
|
||||||
RMDir /r "$INSTDIR\manual"
|
RMDir /r "$INSTDIR\manual"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user