source: Main/trunk/installer.sh@ 78

Last change on this file since 78 was 78, checked in by Nishi, on Sep 19, 2024 at 7:56:38 PM

add version info

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 362 bytes
RevLine 
[62]1#!/bin/sh
2# $Id: installer.sh 78 2024-09-19 10:56:38Z nishi $
3
4fail() {
5 rm -f tewi-service.exe
6 rm -f tewi.exe
7 exit 1
8}
9
[78]10VERSION=`make get-version`
11
[62]12make clean || fail
13make PLATFORM=$1 -j4 || fail
14cp Server/tewi.exe tewi.exe
15make clean || fail
16make PLATFORM=$1-service -j4 || fail
17cp Server/tewi.exe tewi-service.exe
18cd Server
[78]19makensis -DVERSION=$VERSION install.nsi
[62]20rm -f tewi.exe tewi-service.exe
21cd ..
Note: See TracBrowser for help on using the repository browser.