我运行该命令export WINEPREFIX="~/.wine_custom"
,尝试创建 wineprefix 以使游戏正常运行。但是,没有输出,因此我认为它有效。但是,当我使用下一个命令时,winetricks corefonts dxvk dotnet472
我得到了以下输出:
------------------------------------------------------
warning: Your version of wine is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p ~
ls: cannot access '~/.wine_custom/drive_c': No such file or directory
grep: ~/.wine_custom/*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C:
Registry info:
~/.wine_custom/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: invalid directory ~/.wine_custom in WINEPREFIX: not an absolute path"
------------------------------------------------------
我做错了什么?
编辑:经过一些实验后,我让第一个命令工作了。但现在第二个命令的输出不同了。
执行 mkdir -p /home/username mkdir:无法创建目录‘/home/username’:权限被拒绝
警告:注意:命令 mkdir -p /home/username 返回状态 1。中止。
我如何授予该命令的权限?