Commit 0391bc63 authored by talljosh's avatar talljosh

windows installer script: must clear out assets from previous build

--HG--
branch : unstable
parent a01779b17bc8
......@@ -55,6 +55,8 @@ def main():
# First we need to make a clean cx_freeze build.
os.chdir('..')
BUILD_PATH = r'build\exe.win-amd64-3.6'
deltree(BUILD_PATH)
assert os.system(r'python.exe setup.py windows') == 0
# SetOutPath '$INSTDIR\<directory>'
......@@ -65,7 +67,6 @@ def main():
lineList = []
BUILD_PATH = r'build\exe.win-amd64-3.6'
os.chdir(BUILD_PATH)
for root, dirs, files in os.walk('.'):
installTarget = root.replace('.', '$INSTDIR', 1)
......
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