#913: Adapting commit {{{0fcdc63}}} from master branch.
parent
4d6db25a23
commit
2617b6d50f
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
export WINEARCH=win32
|
||||
export WINEPREFIX=$(realpath $(dirname $0)/wine)
|
||||
export WINEPREFIX=$PWD/wine
|
||||
grep -o "[0-9]*\.[0-9]*\.[0-9]*" ../src/VERSION > VERSION
|
||||
wine cmd /c c:\\ogagent\\build.bat
|
||||
chmod -x $(dirname $0)/../OGAgentSetup*.exe
|
||||
chmod -x ../OGAgentSetup*.exe
|
||||
|
|
|
@ -2,12 +2,17 @@
|
|||
# Copy inside the two x86_xxxxx folders inside nsis plugins folder
|
||||
Name "OpenGnsys Agent"
|
||||
|
||||
# OpenGnsys Actor version
|
||||
# OpenGnsys Agent version
|
||||
!define /file OGA_VERSION "src\VERSION"
|
||||
!define /file OGA_WINVERSION "windows\VERSION"
|
||||
|
||||
# General Symbol Definitions
|
||||
!define REGKEY "SOFTWARE\OGAgent"
|
||||
!define VERSION ${OGA_VERSION}.0
|
||||
!if ${OGA_VERSION} == ${OGA_WINVERSION}
|
||||
!define VERSION ${OGA_WINVERSION}.0
|
||||
!else
|
||||
!define VERSION ${OGA_WINVERSION}.1
|
||||
!endif
|
||||
!define COMPANY "OpenGnsys Project"
|
||||
!define URL https://opengnsys.es
|
||||
|
||||
|
|
Loading…
Reference in New Issue