Hackerl / Wine_Appimage

Appimage For Wine
480 stars 69 forks source link

wine: command not found #1

Closed probonopd closed 5 years ago

probonopd commented 6 years ago

有一个错误,它不会运行。 请在Live CD上测试。

me@host:~$ Downloads/ThunderMini-x86_64.AppImage 
/tmp/.mount_ThundeWvKOOR/AppRun: line 21: wine: command not found
Cleaning up

me@host:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

解决方法

me@host:~$ sudo mv Downloads/Wine-x86_64.AppImage /usr/bin/wine
me@host:~$ Downloads/ThunderMini-x86_64.AppImage 

但是将一切都放在一个文件中,而不是两个文件中将会很好

Hackerl commented 6 years ago

因为我觉得在每个Wine应用中包含Wine,可能每次会多占用100M的储存空间,所以将Wine Appimage剥离。 而且应用与Wine分离,当系统中安装有wine时就不用下载Wine Appimage也可以运行。 我在AppRun中加上检测wine是否存在的命令,修复这个问题。

probonopd commented 5 years ago

现在我收到一条消息

me@host:~$ Downloads/ThunderMini-x86_64.AppImage 
I require wine.
You can download Wine-x86_64.AppImage from https://github.com/Hackerl/Wine_Appimage/releases.
Then run: chmod 777 $(pwd)/Wine-x86_64.AppImage; sudo ln -s $(pwd)/Wine-x86_64.AppImage /usr/bin/wine

我很高兴感谢你的出色工作。