Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 Add overwrite option #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

🎉 Add overwrite option #151

wants to merge 1 commit into from

Conversation

cstruct
Copy link
Collaborator

@cstruct cstruct commented Oct 29, 2017

This closes #130

If overwrite is specified we overwrite the target in the "Looking for target" step. One possible downside of this approach is that if we fail to create the DMG we will still cleanup the previous file. A possible fix to this is to work with a temporary file and rename it to replace the target when we have completed the DMG.

Copy link
Owner

@LinusU LinusU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat 👍

@LinusU
Copy link
Owner

LinusU commented Oct 30, 2017

Actually, maybe we should add this as an cli flag instead? Since it isn't really that tightly coupled with the image design?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete target every time
2 participants