{"id":639,"date":"2025-10-23T22:00:51","date_gmt":"2025-10-23T14:00:51","guid":{"rendered":"https:\/\/www.kz-hub.tech\/?p=639"},"modified":"2025-10-24T09:06:49","modified_gmt":"2025-10-24T01:06:49","slug":"accessclient-mac%e4%b8%ad%e9%97%aa%e9%80%80%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.kz-hub.tech\/index.php\/2025\/10\/23\/accessclient-mac%e4%b8%ad%e9%97%aa%e9%80%80%e9%97%ae%e9%a2%98\/","title":{"rendered":"Accessclient Mac\u4e2d\u95ea\u9000\u95ee\u9898"},"content":{"rendered":"<h3>\u53ef\u80fd1<\/h3>\n<p>\u6743\u9650\u4e0d\u8db3<\/p>\n<pre><code>chmod 777 \/Applications\/AccessClient.app<\/code><\/pre>\n<h3>\u53ef\u80fd2<\/h3>\n<p>\u4fee\u6539\u4ee5\u4e0b\u6587\u4ef6\u7684python\u4e3aconda\u6765\u6e90<\/p>\n<pre><code># \/Applications\/AccessClient.app\/Contents\/Resources\/Scripts\/main.scpt\n\non open location this_url\n    set python to &quot;\/opt\/anaconda3\/bin\/python&quot;\n    try\n        do shell script python &amp; &quot; --version&quot;\n    on error m number n\n        set python to &quot;python&quot;\n        do shell script python &amp; &quot; --version&quot;\n    end try\n    set exec_path to POSIX path of (path to me) &amp; &quot;Contents\/Resources\/Scripts\/main.py&quot;\n    set resources_dir to POSIX path of (path to me) &amp; &quot;Contents\/Resources&quot;\n    set logfile to (system attribute &quot;TMPDIR&quot;) &amp; &quot;AccessClient.out&quot;\n    do shell script python &amp; &quot; &#039;&quot; &amp; exec_path &amp; &quot;&#039; &#039;&quot; &amp; this_url &amp; &quot;&#039; &#039;&quot; &amp; resources_dir &amp; &quot;&#039; &gt; &quot; &amp; logfile &amp; &quot; 2&gt;&amp;1 &amp;&quot;\nend open location\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u80fd1 \u6743\u9650\u4e0d\u8db3 chmod 777 \/Applications\/AccessClient.app \u53ef\u80fd2 \u4fee&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/posts\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":2,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/posts\/639\/revisions"}],"predecessor-version":[{"id":641,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/posts\/639\/revisions\/641"}],"wp:attachment":[{"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/categories?post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kz-hub.tech\/index.php\/wp-json\/wp\/v2\/tags?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}