stffabi
131a8f421d
[v2] Infer assetDir from embed.FS
...
AssetDir is now inferred from the assets, if the assets is an
embed.FS, by taking the relativ path to the index.html joined with
the project root.
The assetDir flag still exists and can be used if the inferring doesn't
work, because the provided embed.FS wasn't defined in the main
package.
2021-12-06 13:47:16 +01:00
stffabi
6fcd4b7bd4
[v2] Support fs.FS for assets
...
Reloading changed asset files in dev mode will only work
if an embed.FS has been provided for the assets.
2021-12-06 08:50:39 +01:00
unknown
995fe38ee4
add locker for websocket.WriteMessage
2021-10-11 21:10:55 +08:00
Lea Anthony
8f31183fa8
[v2] Fix client timeouts
2021-10-11 19:23:31 +11:00
Lea Anthony
7572b64bec
[v2] Add -devserverurl flag
2021-10-03 15:07:10 +11:00
Lea Anthony
afb1d12c3b
[v2] Add meta tag to control script injection behaviour
2021-10-02 14:04:59 +10:00
Lea Anthony
a641deb388
[v2] Devserver listen to localhost
2021-09-30 08:00:50 +10:00
Lea Anthony
b5bc0ba181
[v2] Tidy up console output
2021-09-25 14:44:23 +10:00
misitebao
954470250e
feat: added a method to open the link in runtime(wailsapp#796)
2021-09-13 17:58:36 +08:00
Lea Anthony
d6cdd1df82
[v2] Update Menu runtime
2021-09-12 20:45:40 +10:00
Lea Anthony
3c0da9fd15
[windows] support runtime.WindowSetRGBA
2021-09-12 16:32:43 +10:00
Lea Anthony
d9aa125a15
[v2] Refactor devserver -> devwebserver
2021-09-07 18:37:47 +10:00
Lea Anthony
5ff3a286cf
[windows-x] Support OnDomReady, fix build
2021-08-26 21:06:54 +10:00
Lea Anthony
e00d65d468
[windows-x] Update events system to accommodate dev build
2021-08-25 20:54:05 +10:00
Lea Anthony
b558246d52
[windows-x] Dev mode. Auto rebuild/reload. Auto open browser. Disconnect spinner. Base template update. mimecache
2021-08-24 23:48:03 +10:00
Lea Anthony
c3c88f5e27
[windows-x] Huge updates to devmode, runtime, build command.
2021-08-22 23:05:22 +10:00
Lea Anthony
31468aa177
[windows-x] Initial support for dev
2021-08-18 22:13:45 +10:00