Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri %U
记得投递下~
Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri %U
记得投递下~
Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri %U
记得投递下~
加上参数还是不行。
重新打包
生成的
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=qsls
Categories=Office;
Icon=/opt/apps/spark-deepin-suwell/entries/icons/hicolor/scalable/apps/spark-deepin-suwell.png
Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri %U
Name=数科OFD
Comment=阅读odf文件
MimeType=application/ofd
GenericName=spark-deepin-suwell
Terminal=false
StartupNotify=false
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
X-Deepin-AppID=spark-deepin-suwell
%U %u %F %f 这几个参数都试试,不清楚应该用哪个
"uri"应该是URL或者url才对,不过freedesktop中一般会以%U、%u等替
Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri %U
uri是wine运行器自然生成的
试试Exec="/opt/apps/spark-deepin-suwell/files/run.sh" -f %f
wine运行器打包的软件,为什么双击打不开文件,只能打开软件?然后用软件里的打开可以打开,用拖拉进软件也可以打开,衣请大佬指点。打包有的专业打包。右键已设置默打开的
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=qsls
Categories=Network;
Icon=/opt/apps/spark-deepin-suwell/entries/icons/hicolor/scalable/apps/spark-deepin-suwell.png
Exec="/opt/apps/spark-deepin-suwell/files/run.sh" --uri
Name=数科OFD
Comment=免费阅读odf,pdf等
MimeType=application/ofd
GenericName=spark-deepin-suwell
Terminal=false
StartupNotify=false
X-Deepin-CreatedBy=com.deepin.dde.daemon.Launcher
X-Deepin-AppID=spark-deepin-suwell