We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12eb59 commit 52b3d34Copy full SHA for 52b3d34
constructor/briefcase.py
@@ -144,7 +144,10 @@ def create(info, verbose=False):
144
msi_paths = list(dist_dir.glob("*.msi"))
145
if len(msi_paths) != 1:
146
raise RuntimeError(f"Found {len(msi_paths)} MSI files in {dist_dir}")
147
- shutil.copy(msi_paths[0], info["_outpath"])
+
148
+ outpath = Path(info["_outpath"])
149
+ outpath.unlink(missing_ok=True)
150
+ shutil.move(msi_paths[0], outpath)
151
152
if not info.get("_debug"):
153
shutil.rmtree(tmp_dir)
0 commit comments