Esempio n. 1
0
def rebuildBinDir(user):
    if os.path.exists(user.getConfig()["bin-dir"]):
        shutil.rmtree(user.getConfig()["bin-dir"])
    os.mkdir(user.getConfig()["bin-dir"])
    for _, subuser in user.getRegistry().getSubusers().items():
        if subuser.isExecutableShortcutInstalled():
            subuser.installExecutableShortcut()
Esempio n. 2
0
def rebuildBinDir(user):
  if os.path.exists(user.getConfig()["bin-dir"]):
    shutil.rmtree(user.getConfig()["bin-dir"])
  os.mkdir(user.getConfig()["bin-dir"])
  for _,subuser in user.getRegistry().getSubusers().items():
    if subuser.isExecutableShortcutInstalled():
      subuser.installExecutableShortcut()
Esempio n. 3
0
def rebuildBinDir(user):
  if os.path.exists(user.getConfig()["bin-dir"]):
    shutil.rmtree(user.getConfig()["bin-dir"])
  user.getEndUser().mkdir(user.getConfig()["bin-dir"])
  for _,subuser in user.getRegistry().getSubusers().items():
    if subuser.isExecutableShortcutInstalled():
      subuser.installExecutableShortcut()
    if subuser.areEntryPointsExposed():
      subuser.exposeEntrypoints()
Esempio n. 4
0
def rebuildBinDir(user):
    if os.path.exists(user.config["bin-dir"]):
        shutil.rmtree(user.config["bin-dir"])
    user.endUser.mkdir(user.config["bin-dir"])
    for _, subuser in user.registry.subusers.items():
        if subuser.executableShortcutInstalled:
            subuser.installExecutableShortcut()
        if subuser.entryPointsExposed:
            subuser.exposeEntrypoints()
Esempio n. 5
0
def rebuildBinDir(user):
  if os.path.exists(user.config["bin-dir"]):
    shutil.rmtree(user.config["bin-dir"])
  user.endUser.mkdir(user.config["bin-dir"])
  for _,subuser in user.registry.subusers.items():
    if subuser.executableShortcutInstalled:
      subuser.installExecutableShortcut()
    if subuser.entryPointsExposed:
      subuser.exposeEntrypoints()