diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rwxr-xr-x | ucloner.desktop | 2 | ||||
-rw-r--r-- | ucloner.gui.policy | 20 |
4 files changed, 4 insertions, 28 deletions
@@ -20,14 +20,12 @@ pkgbase = ucloner source = ucloner.desktop source = ucloner.png source = modify_for_arch.patch - source = ucloner.gui.policy md5sums = b7bf49a5516cb9e00943e06e3e73adf2 md5sums = 3dac4b28900e7be1068b502b7b848028 md5sums = 15efc60875b77125f8d5399797306955 - md5sums = 617b6d95bee5d2ca778d3887203cce53 + md5sums = 48ad21726f315719c215fa2172959371 md5sums = 1f913fe9ca34481134bc36e1045e9a20 md5sums = 47c1f138ebb7b4ef961be9f9dccd543a - md5sums = 39121b9c5acfffe964d939025cc7014f pkgname = ucloner @@ -17,16 +17,14 @@ source=( 'ucloner.desktop' 'ucloner.png' 'modify_for_arch.patch' - 'ucloner.gui.policy' ) md5sums=('b7bf49a5516cb9e00943e06e3e73adf2' '3dac4b28900e7be1068b502b7b848028' '15efc60875b77125f8d5399797306955' - '617b6d95bee5d2ca778d3887203cce53' + '48ad21726f315719c215fa2172959371' '1f913fe9ca34481134bc36e1045e9a20' - '47c1f138ebb7b4ef961be9f9dccd543a' - '39121b9c5acfffe964d939025cc7014f') + '47c1f138ebb7b4ef961be9f9dccd543a') prepare() { diff --git a/ucloner.desktop b/ucloner.desktop index 84f04c272677..3f5b1592e6dc 100755 --- a/ucloner.desktop +++ b/ucloner.desktop @@ -2,7 +2,7 @@ Categories=Utility; Comment[zh_CN]=Linux系统备份工具 Comment=Linux system backup utility -Exec=pkexec ucloner +Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ucloner GenericName[zh_CN]= GenericName= Icon=ucloner diff --git a/ucloner.gui.policy b/ucloner.gui.policy deleted file mode 100644 index c2bf8d4a3712..000000000000 --- a/ucloner.gui.policy +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE policyconfig PUBLIC - "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" - "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> -<policyconfig> - - <action id="org.freedesktop.policykit.pkexec.run-gparted"> - <description>Run UCloner</description> - <description xml:lang="zh_CN">运行UCloner</description> - <message>Authentication is required to run UCloner</message> - <defaults> - <allow_any>no</allow_any> - <allow_inactive>no</allow_inactive> - <allow_active>auth_admin_keep</allow_active> - </defaults> - <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/ucloner</annotate> - <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate> - </action> - -</policyconfig>
\ No newline at end of file |