Lea Anthony
f734d26adb
Use wailsapp/mimetype module
2022-04-01 08:21:57 +11:00
stffabi
65fb42d9e7
[v2] Add support for external frontend dev servers ( #1290 )
...
* [v2] Consolidate AssetServers
* [v2] Support starturl for webview on linux and darwin
* [v2] Add support for frontend DevServer
* [v2] Activate frontend DevServer in svelte template
* [website] Add bleeding edge guide for PRs
* DoNotMerge: Bump Version for testing
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-31 00:40:44 +11:00
Lea Anthony
1048782eb4
Initial commit ( #1241 )
2022-03-10 21:20:41 +11:00
Lea Anthony
ae6da05e9d
Feature/1175 default index page ( #1229 )
...
* Initial commit
* Retry index.html every 500ms for 5s before defaulting to the default index page.
* Load all files using the same technique
* Remove reload script
2022-03-09 23:49:27 +11:00
Lea Anthony
4a89508b50
Fixes #1108 ( #1115 )
2022-01-29 10:21:07 +11:00
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
Lea\Anthony
38caa645e5
[v2] A better approach to delayed IPC
2021-12-05 14:23:48 +11:00
unknown
356774e3f7
use backtick with return
2021-10-11 19:41:45 +08:00
unknown
5d8653be83
add \r\n for awaitIPC callback
2021-10-11 16:41:11 +08:00
Lea Anthony
7caf6af91d
[v2] Fix websocket ipc timing bug. Use proper HTML parsing for injection.
2021-10-10 15:43:01 +11:00
Lea Anthony
b15d98b555
[v2] Rename noautoinjectbindings -> noautoinjectipc
2021-10-04 16:53:27 +11:00
Lea Anthony
1b28f69236
[v2] Fix -devserverurl flag
2021-10-03 16:44:37 +11:00
Lea Anthony
afb1d12c3b
[v2] Add meta tag to control script injection behaviour
2021-10-02 14:04:59 +10:00
Lea Anthony
9930ee10da
Revert "Corrected obsolete 'text/javascript' mime to 'application/javascript'"
...
This reverts commit 23c1ebfac9
.
2021-09-30 07:07:13 +10:00
Cody Bentley
23c1ebfac9
Corrected obsolete 'text/javascript' mime to 'application/javascript'
2021-09-29 01:06:28 -06:00
Cody Bentley
3de31613a1
Added JS case to mimecache
2021-09-29 00:50:49 -06:00
Lea Anthony
b5bc0ba181
[v2] Tidy up console output
2021-09-25 14:44:23 +10:00
Lea Anthony
b54a94135d
[v2] CSS mimetype fix
2021-09-08 19:48:49 +10:00
Lea Anthony
227c316cb0
[v2] Extract asset path calculation
2021-09-05 22:40:52 +10:00
Lea Anthony
5ff3a286cf
[windows-x] Support OnDomReady, fix build
2021-08-26 21:06:54 +10:00
Lea Anthony
58dc917fb7
[windows-x] Startup/Shutdown -> OnStartup/OnShutdown
2021-08-26 20:38:03 +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
6923ea301b
[windows-x] Refactor runtime & asset server
2021-08-18 22:12:00 +10:00
Lea Anthony
8e84bdfa8d
[windows-x] Support calling bound methods
2021-08-13 23:44:24 +10:00
Lea Anthony
244b3dc2b4
[windows-x] Support embed.fs assets, log runtime
2021-08-01 22:14:56 +10:00