Skip to content

Comments

Set File.Move() on installer update.exe update to override existing file#167

Merged
JohnAFernandez merged 1 commit intoKnossosNET:mainfrom
Shivansps:set-update-filemove-override
Mar 4, 2024
Merged

Set File.Move() on installer update.exe update to override existing file#167
JohnAFernandez merged 1 commit intoKnossosNET:mainfrom
Shivansps:set-update-filemove-override

Conversation

@Shivansps
Copy link
Member

When i was updating the installer version 0.2.0-RC10 to 1.0 i got an error

"you cant create a file that already exists" on "kn_update\update.exe"

I have no idea why that file was there maybe was a leftover with an older version from before we implemented the scripts, as the script should have cleared it. Anyway, overrwritting the file if it exist seems to be the right solution. I dont really know how to test it but it should work.

@JohnAFernandez
Copy link
Contributor

Fixes #166

@JohnAFernandez JohnAFernandez added this to the 1.1.0 milestone Mar 4, 2024
@JohnAFernandez JohnAFernandez added the fix Fix for a bug label Mar 4, 2024
@JohnAFernandez JohnAFernandez linked an issue Mar 4, 2024 that may be closed by this pull request
@JohnAFernandez JohnAFernandez merged commit c9470ad into KnossosNET:main Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-Update fails

2 participants