diff --git a/deepin-wine-easy-packager.py b/deepin-wine-easy-packager.py index e06b54fe07c2f0021b2b7be47b59370a8c4bda1d..da97d6ed33018a86abe7af25519f0c5c9f47c86d 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 f8198d2d9d82f7633cef5249330ee2685fc3ae79..5ab27d62a0c79658a80053e3967e70ce4c19dc48 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()]