diff --git a/deepin-wine-easy-packager.py b/deepin-wine-easy-packager.py index e06b54f..da97d6e 100755 --- a/deepin-wine-easy-packager.py +++ b/deepin-wine-easy-packager.py @@ -321,7 +321,7 @@ Encoding=UTF-8 Type=Application X-Created-By=@@@Maintainer@@@ Icon=@@@Icon@@@ -Exec="/opt/apps/@@@Package@@@/files/run.sh --uri %u" +Exec="/opt/apps/@@@Package@@@/files/run.sh --uri %F" Name=@@@Name@@@ Comment=@@@Description@@@ MimeType= diff --git a/deepin-wine-packager.py b/deepin-wine-packager.py index f8198d2..5ab27d6 100755 --- a/deepin-wine-packager.py +++ b/deepin-wine-packager.py @@ -636,7 +636,7 @@ Description: {e3_text.text()} ["@@@MAINTAINER@@@", e4_text.text()], ["@@@DESCRIPTION@@@", e3_text.text()], ["@@@DESKTOP_EXEC@@@", - f'''"/opt/apps/{e1_text.text()}/files/run.sh" {command} %u'''], + f'''"/opt/apps/{e1_text.text()}/files/run.sh" {command} %F'''], ["@@@DESKTOP_NAME@@@", iconUiList[0][3].text()], ["@@@DESKTOP_MIMETYPE@@@", iconUiList[0][5].text()], ["@@@DESKTOP_CATEGORIES@@@", iconUiList[0][1].currentText()]