Age | Commit message (Collapse) | Author | Files | Lines |
|
- Use libcurl's builtin macro CURL_FORMAT_CURL_OFF_T to correctly print status.
- Cast pct to unsigned char as it should always <= 100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There are edge cases when a retrived title contains illegal characters
(e.g. '/').
Replace it with a space to ensure a valid filename.
Reproducible case:
https://www.bilibili.com/video/av20827366/
(title="【2K/60fps】这可能是我做过最美的miku了【boomclap布料解算版】")
|
|
Always use the second result.
|
|
Enable UTF-8 mode on Windows to avoid filename encoding issues.
Ref: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setlocale-wsetlocale?view=msvc-170#utf-8-support
|
|
nativefiledialog-extended works great on Linux w/ portal support, but somehow is
too complex to build on Windows. [1]
Switch to tinyfd for simplicity.
[1]: Visual Studio CL.exe would fail with MSB6001.
```
Error MSB6001: Invalid command line switch for "CL.exe". Item has already been added. Key in dictionary: 'VCInstallDir' Key being added: 'VCINSTALLDIR'
```
For further information, see below:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/5de6d7e3-7a38-4712-ba59-be179808bf9e/error-msb6001-invalid-command-line-switch-for-clexe
https://github.com/dotnet/msbuild/issues/5726
It's been over 10 years, and Microsoft still claims that case sensitivity thing is a FEATURE.
Holy M$, Thank you.
|
|
|