File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -7804,7 +7804,7 @@ Use keyword "geny" to list and start Genymotion emulator</string>
78047804 <string >aapt_path </string >
78057805 </array >
78067806 <key >version </key >
7807- <string >1.13.0 </string >
7807+ <string >1.13.1 </string >
78087808 <key >webaddress </key >
78097809 <string >https://github.com/zjn0505/adb-alfred </string >
78107810</dict >
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def main(wf):
144144 # REBOOT SYSTEM
145145 title = "Reboot system"
146146
147- if addAll or wordMatch (arg , title ):
147+ if addAll or wordMatch (arg , title ) or wordMatch ( arg , "restart" ) :
148148 it = wf .add_item (title = title ,
149149 uid = "adb_reboot" ,
150150 arg = "adb_reboot" ,
@@ -196,7 +196,12 @@ def main(wf):
196196 try :
197197 rc = subprocess .check_output (['/usr/local/bin/scrcpy' , '-v' ])
198198 except OSError :
199- rc = - 1
199+ log .error ("OS error 1" )
200+ try :
201+ rc = subprocess .check_output (['/opt/homebrew/bin/scrcpy' , '-v' ])
202+ except OSError :
203+ log .error ("OS error 2" )
204+ rc = - 1
200205 if rc != - 1 and (addAll or wordMatch (arg , title )) and not isEmulator :
201206 it = wf .add_item (title = title ,
202207 uid = "scr_cpy" ,
Original file line number Diff line number Diff line change 1- 1.13.0
1+ 1.13.1
You can’t perform that action at this time.
0 commit comments