blob: ae0032d4c3a322b6423036e882e4b8ac63ba7689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/ltspice"
if [ ! -d "$HOME"/.ltspice ] ; then
mkdir -p "$HOME"/.ltspice
fi
if [ ! -d $CONFIG_DIR ]; then
mkdir -p $CONFIG_DIR
touch $CONFIG_DIR/LTspiceXVII.ini
fi
export WINEPREFIX=$HOME/.ltspice/env WINEARCH=win64
wine /usr/lib/wine/x86_64-windows/start.exe /unix /opt/ltspice/XVIIx64 -ini $CONFIG_DIR/LTspiceXVII.ini "$@"
|