File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -6991,7 +6991,7 @@ Use keyword "geny" to list and start Genymotion emulator</string>
69916991 <string >aapt_path </string >
69926992 </array >
69936993 <key >version </key >
6994- <string >1.10.1 </string >
6994+ <string >1.10.2 </string >
69956995 <key >webaddress </key >
69966996 <string >https://github.com/zjn0505/adb-alfred </string >
69976997</dict >
Original file line number Diff line number Diff line change 99api = os .getenv ('device_api' )
1010ip = os .getenv ("ip" )
1111
12- rc = subprocess .call (['/usr/local/bin/scrcpy' , '-v' ])
13-
1412def wordMatch (arg , sentence ):
1513 words = arg .lower ().split (" " )
1614 sentenceComponents = sentence .lower ().split (" " )
@@ -194,7 +192,10 @@ def main(wf):
194192
195193 # Screen Copy with scrcpy
196194 title = "Screen Copy with scrcpy"
197- log .debug ("Rcrc" )
195+ try :
196+ rc = subprocess .call (['/usr/local/bin/scrcpy' , '-v' ])
197+ except OSError :
198+ rc = - 1
198199 log .debug (rc )
199200 if rc == 0 and (addAll or wordMatch (arg , title )) and not isEmulator :
200201 it = wf .add_item (title = title ,
@@ -213,7 +214,7 @@ def main(wf):
213214 arg = "cmd_history" ,
214215 valid = True )
215216 itemCount += 1
216- it .add_modifier ('cmd' , 'clear command history' , arg = "cmd_history:clear" )
217+ it .add_modifier ('cmd' , 'clear command history' , arg = "cmd_history:clear" )
217218
218219 # CUSTOM ACTION
219220 if itemCount == 0 :
Original file line number Diff line number Diff line change 1- 1.10.1
1+ 1.10.2
You can’t perform that action at this time.
0 commit comments