diff options
Diffstat (limited to 'os/windows')
| -rw-r--r-- | os/windows/Makefile | 12 | ||||
| -rw-r--r-- | os/windows/install.nsi | 6 |
2 files changed, 8 insertions, 10 deletions
diff --git a/os/windows/Makefile b/os/windows/Makefile index 5ee19c9..94c335d 100644 --- a/os/windows/Makefile +++ b/os/windows/Makefile @@ -4,17 +4,15 @@ yetihack.exe: src/YetiHack.cpp ln src/yetihack.exe os/windows/yetihack-windows/ package: yetihack.exe - YETIHACKDIR=`pwd` - export YETIHACKDIR makensis os/windows/install.nsi - zip yetihack-windows.zip os/windows/yetihack-windows + zip package/yetihack-windows.zip os/windows/yetihack-windows install: yetihack.exe ./YetiHack_installer.exe clean: - -rm yetihack.exe - -rm YetiHack_installer.exe - -rm yetihack-windows.zip - -rm yetihack-windows/yetihack.exe + -rm src/yetihack.exe + -rm package/YetiHack_installer.exe + -rm package/yetihack-windows.zip + -rm os/windows/yetihack-windows/yetihack.exe diff --git a/os/windows/install.nsi b/os/windows/install.nsi index 507acba..dfb0d65 100644 --- a/os/windows/install.nsi +++ b/os/windows/install.nsi @@ -11,7 +11,7 @@ Name "YetiHack Installer"
; The file to write
-OutFile "YetiHack_installer.exe"
+OutFile "../../package/YetiHack_installer.exe"
; The default installation directory
InstallDir $PROGRAMFILES\YetiHack
@@ -42,8 +42,8 @@ Section "YetiHack" SectionIn RO
SetOutPath $INSTDIR
- File "$YETIHACKDIR/src/yetihack.exe"
- File "/usr/i586-mingw32msvc/bin/pdcurses.dll"
+ File "../../src/yetihack.exe"
+ File "yetihack-windows/pdcurses.dll"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\YetiHack "Install_Dir" "$INSTDIR"
|
