Commit 3b90317c authored by Legodev's avatar Legodev

still fixing paths

parent 75c0885a
......@@ -26,4 +26,4 @@ for addon in addonlist:
dependencies += [x for x in getdependencylist(configfile) if x in addonlist and not x in dependencies]
print((addon, dependencies))
print(createaddonbuildercmd(projectPath, sourcePath, namespace, addon, destinationpath, keypath))
print(createaddonbuildercmd(projectPath, sourceAddonsPath, namespace, addon, destinationpath, keypath))
......@@ -4,7 +4,8 @@ arma3ToolsPath = Path("C:/Program Files (x86)/Steam/steamapps/common/Arma 3 Tool
addonBuilderExePath = arma3ToolsPath / "AddonBuilder/AddonBuilder.exe"
def createaddonbuildercmd(projectPath, sourceAddonPath, namespace, addon, destinationpath, keypath):
def createaddonbuildercmd(projectPath, sourceAddonsPath, namespace, addon, destinationpath, keypath):
sourceAddonPath = sourceAddonsPath / addon
cmd = '"{}" "{}" "{}" -clear -sign="{}" -project="{}" -binarizeAllTextures'.format(addonBuilderExePath,
sourceAddonPath, destinationpath,
keypath, projectPath)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment