add a rule to run the script you enter by add './' in command's prefix
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import os
|
||||
|
||||
def match(command, settings):
|
||||
exist = os.path.exists(command.script)
|
||||
return exist
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return './{}'.format(command.script)
|
||||
|
||||
Reference in New Issue
Block a user