调整脚本

This commit is contained in:
gfdgd xi 2024-05-23 22:34:29 +08:00
parent 40c52bd1a8
commit dae29fd54e

View File

@ -1872,12 +1872,12 @@ build: |
install_dep $SOURCES $PREFIX
# use a script as program
echo "#!/usr/bin/env bash" > start.sh
echo "cd $PREFIX/ && ./StartVM.sh \$@" >> start.sh
echo "cd $PREFIX/ && ./deepin-wine-runner \$@" >> start.sh
install -d $PREFIX/share
install -d $PREFIX/bin
install -d $PREFIX/lib
install -m 0755 start.sh $PREFIX/bin
# move files
cp -r $SOURCES/spark-deepin-wine-runner/opt/apps/deepin-wine-runner/entries/applications/spark-deepin-wine-runner.desktop $PREFIX/share
cp -r $SOURCES/spark-deepin-wine-runner/opt/apps/deepin-wine-runner/entries/* $PREFIX/share
cp -r $SOURCES/spark-deepin-wine-runner/opt/apps/deepin-wine-runner/* $PREFIX
#>>> auto generate by ll-pica end