在 Ubuntu 中通过 Shell 脚本运行 GamingAnywhere

在 Ubuntu 中通过 Shell 脚本运行 GamingAnywhere

我正在尝试在 gamingAnywhere“事件驱动服务器”上通过启动时的 shell 脚本运行游戏。我尝试了很多方法,但都没有效果。

1.

#!/bin/sh
gnome-terminal --working-directory=/Path-to-gamingAnywhere/bin -e './ga-server-event-driven config/server.assaultcube.linux.conf'

但它无法运行游戏。

2.

/Path-to-gamingAnywhere/bin/ga-server-event-driven /Path-to-gamingAnywhere/bin/config/server.assaultcube.linux.conf

它运行游戏,但不能运行所有模块,例如 ga-hook-sdk.so

3.

我也尝试过 piping 但是也没有用。

我想用所有模块运行游戏。我希望第一种方法能有所帮助,但子进程以代码 0 退出。不起作用。

我对这个 shell 脚本还不熟悉。所以请帮帮我。

相关内容