blob: f16f52ac08e5262323314c117d12ad01f412fd6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
PROGRAM_NAME=anycubic-slicer
export WINEPREFIX="${HOME}"/."${PROGRAM_NAME}"/wine
INSTALL_PATH="${WINEPREFIX}/drive_c/Program Files/AnycubicSlicer"
EXECUTABLE="${INSTALL_PATH}/Anycubic-Slicer.exe"
if [ ! -d "${WINEPREFIX}" ] ; then
mkdir -p "${WINEPREFIX}"
wineboot -u
ln -s /usr/share/"${PROGRAM_NAME}" "${INSTALL_PATH}"
fi
WINEDEBUG=-all wine "${EXECUTABLE}" "$@"
|