Exemplo n.º 1
0
 def run(self):
     try:
         os.mkdir(
             os.path.join(f"/Users/{os.getlogin()}",
                          "Library/LaunchAgents"))
     except FileExistsError:
         pass
     plist_launch_write(self.name, self.command, 1)
Exemplo n.º 2
0
 def run(self):
     plist_launch_write(self.name, self.command, 3)