diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-02 11:05:04 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-02 11:05:04 +0200 |
commit | 1a0463e1770561f1041e1cffdbbae9b468531c55 (patch) | |
tree | dbe86b9e85e9bd1baa1d50875f5a7cdd9c5f98bd /base | |
parent | aa0695aed60ac8568258aefb9d2ff5e9296111ae (diff) | |
download | jellything-1a0463e1770561f1041e1cffdbbae9b468531c55.tar jellything-1a0463e1770561f1041e1cffdbbae9b468531c55.tar.bz2 jellything-1a0463e1770561f1041e1cffdbbae9b468531c55.tar.zst |
temporary asset location
Diffstat (limited to 'base')
-rw-r--r-- | base/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/src/lib.rs b/base/src/lib.rs index f130a8c..c8b767d 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -4,8 +4,8 @@ Copyright (C) 2023 metamuffin <metamuffin.org> */ #![feature(lazy_cell)] -pub mod permission; pub mod cache; +pub mod permission; use jellycommon::{config::GlobalConfig, AssetLocation}; use std::{fs::File, path::PathBuf, sync::LazyLock}; @@ -31,6 +31,7 @@ impl AssetLocationExt for AssetLocation { AssetLocation::Assets(p) => CONF.asset_path.join(p), AssetLocation::Cache(p) => CONF.cache_path.join(p), AssetLocation::Library(p) => CONF.library_path.join(p), + AssetLocation::Temp(p) => CONF.temp_path.join(p), } } } |