[Tutorials] 关于Deepin-wine打包.deb,请教个问题
Tofloor
poster avatar
mxl1983413
deepin
2021-03-12 08:08
Author
实在很着急,我在UOS论坛也发了相同的贴子,管理员莫怪。

在deepin-wine适配说明的教程文档中,这一段的前面部分和后面部分我都看懂了,唯独这一段没看懂,请问这个exec_path获取是怎么回事?它就是桌面上的xxx.desktop文件吗?可是我vim xxx.desktop把我的用户名修改成$USER之后直接就打不开应用了。下面以foobar2000为例:

[Desktop Entry]
Name=foobar2000
Exec=env WINEPREFIX="/home/$USER/.deepinwine/apps/foobar2000_1" /opt/deepin-wine-assist/deepin-wine5-stable/bin/wine C:\\\\Program\\ Files\\\\foobar2000\\\\foobar2000.exe
Type=Application
StartupNotify=true
Path=/home/$USER/.deepinwine/apps/foobar2000_1/dosdevices/c:/Program Files/foobar2000
Icon=B093_foobar2000.0
StartupWMClass=foobar2000.exe

 

把我的用户名替换成$USER以后,就已经打不开软件了,紫色的位置也不对啊,我已经把它复制到.deepinwine/目录下,并改成了Deepin-foobar2000

 

Reply Favorite View the author
All Replies
lcw0268
deepin
2021-03-12 09:48
#1

c:\才是

Reply View the author
mxl1983413
deepin
2021-03-12 11:13
#2
lcw0268

c:\才是

能麻烦你详细解答一下吗?谢谢

Reply View the author
Maicss
deepin
2021-03-12 16:22
#3

是可执行程序在容器中的绝对路径。

容器中有一个C盘的目录,假如安装了美图秀秀,那么这个路径就是C:/......./meitu.exe

他说desktop的原因是当你安装成功后,对应的desktop文件中的exec一项应该自动生成了这个路径,直接复制出来就行。

Reply View the author
caoayu
deepin
2021-03-12 19:00
#4

你的美图秀秀可以安装吗,我的安装失败,也不知道日志在哪

Reply View the author
mxl1983413
deepin
2021-03-12 19:14
#5
Maicss

是可执行程序在容器中的绝对路径。

容器中有一个C盘的目录,假如安装了美图秀秀,那么这个路径就是C:/......./meitu.exe

他说desktop的原因是当你安装成功后,对应的desktop文件中的exec一项应该自动生成了这个路径,直接复制出来就行。

还是不懂唉,能不能给个操作步骤?

Reply View the author
mxl1983413
deepin
2021-03-12 19:14
#6
caoayu

你的美图秀秀可以安装吗,我的安装失败,也不知道日志在哪

我就是卡在这一步了,进行不下去

Reply View the author
ut000442
deepin
2021-03-12 21:49
#7
It has been deleted!
ut000442
deepin
2021-03-12 21:50
#8
It has been deleted!
kevin_w
deepin
2021-03-12 21:51
#9

package-xxx.sh中:

export exec_path="c:\\users\\$USER\\Application Data\\Typeeasy\\11.5\\TypeEasy.exe"

 

Reply View the author
mxl1983413
deepin
2021-03-12 22:10
#10
kevin_w

package-xxx.sh中:

export exec_path="c:\\users\\$USER\\Application Data\\Typeeasy\\11.5\\TypeEasy.exe"

 

客服的教程更新了视频,我会了,谢谢。

Reply View the author