Release v0.6.20: edit history images and share smooth wheel handling

This commit is contained in:
agrynco committed 2026-10-31 09:12:59 +02:00
1 parent 6603d28f68
commit 70ea9b10bc
22 files changed
+334 -33

No files matched your search

+10
View File
@@ -8,6 +8,16 @@
namespace ks
{
inline std::wstring localBuildTitle(const std::wstring &title)
{
static const bool development=[] {
wchar_t path[32768]{};
if(!GetModuleFileNameW(nullptr,path,std::size(path))) return false;
std::error_code error;
return std::filesystem::exists(std::filesystem::path(path).parent_path()/L".local-dev",error);
}();
return development?title+L" [LOCAL DEV]":title;
}
using Bytes = std::vector<unsigned char>;
struct Format
{