5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 07:10:40 +08:00
wails/v2/internal/frontend/assetserver
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
..
testdata [windows-x] Support embed.fs assets, log runtime 2021-08-01 22:14:56 +10:00
assetserver_browser_dev.go [v2] Infer assetDir from embed.FS 2021-12-06 13:47:16 +01:00
assetserver_common.go [v2] Infer assetDir from embed.FS 2021-12-06 13:47:16 +01:00
assetserver_desktop.go [v2] Infer assetDir from embed.FS 2021-12-06 13:47:16 +01:00
common_test.go [v2] Rename noautoinjectbindings -> noautoinjectipc 2021-10-04 16:53:27 +11:00
common.go [v2] Fix websocket ipc timing bug. Use proper HTML parsing for injection. 2021-10-10 15:43:01 +11:00
mimecache_test.go Revert "Corrected obsolete 'text/javascript' mime to 'application/javascript'" 2021-09-30 07:07:13 +10:00
mimecache.go Revert "Corrected obsolete 'text/javascript' mime to 'application/javascript'" 2021-09-30 07:07:13 +10:00