Commit a965adbf authored by Vitaly Lipatov's avatar Vitaly Lipatov

add run-1c8.sh script

parent e3c47461
#!/bin/sh
# Usage: run-1c8.sh [wine]
# rerun via ssh from rw
if [ "$(hostname -s)" != "rw" ] ; then
TODO: use rxclient or xpra
ssh -o PasswordAuthentication=no -Y rw /home/share/resources/wine-buh/run-1c8.sh
exit
fi
# start wine if we force it
if [ "$1" = "wine" ] ; then
export WINEPREFIX=~/.wine-buh
test -d $WINEPREFIX || wine --attach /home/share/resources/wine-buh
WINEPREFIX=~/.wine-buh winelog "C:\Program Files\\1cv8\\common\\1cestart.exe"
#WINEPREFIX=~/.wine-buh winelog "C:\Program Files\\1cv82\\common\\1cestart.exe"
#WINEPREFIX=~/.wine-buh winelog "C:\Program Files\\1cv82\\8.2.16.368\\bin\\1cv8.exe"
exit
fi
# start 1C client
START=/opt/1C/v8.3/x86_64/1cestart
[ -x "$START" ] || START=/opt/1C/v8.3/i386/1cestart
if [ -x "$START" ] ; then
# See https://bugs.etersoft.ru/show_bug.cgi?id=11666 about ignoreflock
#ignoreflock strace -f -y $START 2>/tmp/1ct
ignoreflock $START
exit
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment