Skip to content

Commit

Permalink
Fixed deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
hdlx committed Aug 31, 2024
1 parent 4fa5004 commit a38df65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

def deploy(arch, writeManifest = False):
srcDir = f"./Output/Release/{arch}"
shutil.rmtree(srcDir)
if os.path.exists(srcDir):
shutil.rmtree(srcDir)
file = compileCommon.CompileRel(arch)
dir = "./Output/Deploy"
if not os.path.exists(dir):
Expand Down

0 comments on commit a38df65

Please sign in to comment.