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

Prompt user before overwriting files #1085

Merged
merged 21 commits into from
Jun 6, 2024
Merged

Conversation

ScrubN
Copy link
Collaborator

@ScrubN ScrubN commented Jun 5, 2024

@ScrubN ScrubN merged commit 961e542 into lay295:master Jun 6, 2024
@ScrubN ScrubN deleted the overwrite-file-fix branch June 6, 2024 17:40
ScrubN added a commit to ScrubN/TwitchDownloader that referenced this pull request Jun 8, 2024
* Create destination file immediately

* Fix potential NRE

* Implement FileOverwriteHandler for CLI

* Add GetNonCollidingName tests

* TwitchDownloaderArgs -> ITwitchDownloaderArgs & rearrange arg interfaces due to help text ordering

* Update help text

* Create WPF task file overwrite handler

* Throw when no output file is returned, refresh FileInfos before checking Exists property

* Genericize opening explorer for a given file

* Update ___Options output file property to reflect possibly new filename

* Add icon

* Add translations

* Annotate as windows only

* Update README

* Forgot to add it to the whole CLI

* Overwrite -> Collision

* Missed a few spots

* Update wording

* Use warning icon to match file explorer overwrite prompt

* Make "remember my choice" wording more clear

* Fix missing zh-cn translations
ScrubN added a commit to ScrubN/TwitchDownloader that referenced this pull request Jun 8, 2024
* Create destination file immediately

* Fix potential NRE

* Implement FileOverwriteHandler for CLI

* Add GetNonCollidingName tests

* TwitchDownloaderArgs -> ITwitchDownloaderArgs & rearrange arg interfaces due to help text ordering

* Update help text

* Create WPF task file overwrite handler

* Throw when no output file is returned, refresh FileInfos before checking Exists property

* Genericize opening explorer for a given file

* Update ___Options output file property to reflect possibly new filename

* Add icon

* Add translations

* Annotate as windows only

* Update README

* Forgot to add it to the whole CLI

* Overwrite -> Collision

* Missed a few spots

* Update wording

* Use warning icon to match file explorer overwrite prompt

* Make "remember my choice" wording more clear

* Fix missing zh-cn translations
ScrubN added a commit to ScrubN/TwitchDownloader that referenced this pull request Jun 8, 2024
…ernames

Fix typo (lay295#1082)

Update Simplified Chinese Translation (lay295#1080)

Fix TsMerger M3U8 support (lay295#1084)

Cleanup (lay295#1086)

* Simplify notifying properties

* Fix ReadOnlySpanExtensions.UnEscapedIndexOf ArgumentOutOfRangeException args

* Fix system emoji vendor missing from exception message

* Simplify CacheHandler user prompt code

Remove chatupdate compression arg shorthand (-c) (lay295#1087)

Fix README

Prompt user before overwriting files (lay295#1085)

* Create destination file immediately

* Fix potential NRE

* Implement FileOverwriteHandler for CLI

* Add GetNonCollidingName tests

* TwitchDownloaderArgs -> ITwitchDownloaderArgs & rearrange arg interfaces due to help text ordering

* Update help text

* Create WPF task file overwrite handler

* Throw when no output file is returned, refresh FileInfos before checking Exists property

* Genericize opening explorer for a given file

* Update ___Options output file property to reflect possibly new filename

* Add icon

* Add translations

* Annotate as windows only

* Update README

* Forgot to add it to the whole CLI

* Overwrite -> Collision

* Missed a few spots

* Update wording

* Use warning icon to match file explorer overwrite prompt

* Make "remember my choice" wording more clear

* Fix missing zh-cn translations

Add `DEBUG` to WPF title when compiled in debug mode (lay295#1088)

Bump nuget packages (lay295#1089)

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