mirror of
https://github.com/Drop-OSS/wry-cef.git
synced 2026-01-30 20:55:24 +01:00
* fix(android): restore asset loading functionality to android Implements WebViewAssetLoader to load assets from the asset folder in Android when `with_asset_loader` is called in the builder. The function also sets the desired protocol for use in `with_url`, although the url must always be `<protocol>://assets/<path>`. Refs: #846 * docs(changes): document changes for android's fix-asset-loading patch * Refactor to prevent additional allocation * Fix merge conflict * Disable default target to android * Pass zero parameter to android fns --------- Co-authored-by: Wu Wayne <yuweiwu@pm.me>
5 lines
132 B
TOML
5 lines
132 B
TOML
# [build]
|
|
# target = "aarch64-linux-android"
|
|
[target.x86_64-apple-darwin]
|
|
rustflags = ["-C", "link-arg=-mmacosx-version-min=10.12"]
|