a/codesys-ide/codesys | b/codesys-ide/codesys | ||
---|---|---|---|
... |
... |
||
13 | libdoc=$(ls -1 ${HOME}/.wine.cds/drive_c/CODESYS/CODESYS/DocScripting/*/libdoc.exe) |
13 | libdoc=$(ls -1 ${HOME}/.wine.cds/drive_c/CODESYS/CODESYS/DocScripting/*/libdoc.exe) |
14 | 14 | ||
15 | # start ide? |
15 | # start ide? |
16 | if [ "${1}" == "ide" ]; then |
16 | if [ "${1}" == "ide" ]; then |
17 | export WINEPREFIX=~/.wine.cds |
17 | export WINEPREFIX=~/.wine.cds |
18 | export WINEDEBUG=-all |
18 | # export WINEDEBUG=-all |
19 | ${WINE} ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe --culture=en --profile="'"${profile}"'" --runscript="z:${BASEPATH}/noop.py" --noUI |
19 | ${WINE} ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe --culture=en --profile="'"${profile}"'" --runscript="z:${BASEPATH}/noop.py" --noUI |
20 | ${WINE} ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe --culture=en --profile="'"${profile}"'" |
20 | ${WINE} ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe --culture=en --profile="'"${profile}"'" |
21 | elif [ "${1}" == "export-libdoc" ]; then |
21 | elif [ "${1}" == "export-libdoc" ]; then |
22 | export WINEPREFIX=~/.wine.cds |
22 | export WINEPREFIX=~/.wine.cds |
23 | export WINEDEBUG=-all |
23 | export WINEDEBUG=-all |