Compare commits

..

3 Commits

Author SHA1 Message Date
Lea Anthony
020fe182b0 Update go.mod 2019-10-25 17:37:12 +11:00
Lea Anthony
365972619a fix: allow spaces in path to windres 2019-10-25 17:35:37 +11:00
Lea Anthony
11f805a97f fix: escape windows commands 2019-10-25 16:44:46 +11:00
3 changed files with 1 additions and 17 deletions

View File

@@ -20,4 +20,3 @@ Wails is what it is because of the time and effort given by these great people.
* [Toyam Cox](https://github.com/Vaelatern)
* [Robin Eklind](https://github.com/mewmew)
* [Kris Raney](https://github.com/kraney)
* [soon cheol shin](https://github.com/scshin0572)

View File

@@ -1,4 +1,4 @@
package cmd
// Version - Wails version
const Version = "v0.18.12-pre"
const Version = "v0.18.10-pre"

View File

@@ -217,21 +217,6 @@ struct webview_priv
va_end(ap);
}
WEBVIEW_API void webview_set_title(struct webview *w, const char *title)
{
#ifdef UNICODE
wchar_t *u16title = webview_to_utf16(title);
if (u16title == NULL)
{
return;
}
SetWindowText(w->priv.hwnd, u16title);
GlobalFree(u16title);
#else
SetWindowText(w->priv.hwnd, title);
#endif
}
static int webview_js_encode(const char *s, char *esc, size_t n)
{
int r = 1; /* At least one byte for trailing zero */