diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-03-17 11:40:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 11:40:09 +0100 |
| commit | b0276dfd74472df67c8e9d521d61fab4e47d26ad (patch) | |
| tree | 178ffaacdbde37976bda6c45332a756077a31da9 /src/commands.rs | |
| parent | chore(version): bump development version (diff) | |
| download | sl0ppij-b0276dfd74472df67c8e9d521d61fab4e47d26ad.tar.gz sl0ppij-b0276dfd74472df67c8e9d521d61fab4e47d26ad.tar.xz sl0ppij-b0276dfd74472df67c8e9d521d61fab4e47d26ad.zip | |
fix(feat): `disable_automatic_asset_installation` (#1226)
* fix(feat): `disable_automatic_asset_installation`
This fixes a regression in the feature system:
The asset installation didn't get turned off by the feature.
Add error logging to the install functions.
Properly show features in setup
disable `mkdir` in `wasm_vm` on `feature-disable-asset-installation`
Alternative:
Is this even needed? We make sure the directory is there upon the
normal asset installation.
fixes #1130
Diffstat (limited to 'src/commands.rs')
| -rw-r--r-- | src/commands.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commands.rs b/src/commands.rs index 54274134..cfbcb8f0 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -89,7 +89,6 @@ fn create_new_client() -> ClientInfo { fn install_default_assets(opts: &CliArgs) { let data_dir = opts.data_dir.clone().unwrap_or_else(get_default_data_dir); - #[cfg(not(disable_automatic_asset_installation))] populate_data_dir(&data_dir); } |
