From 1a0463e1770561f1041e1cffdbbae9b468531c55 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 2 Oct 2023 11:05:04 +0200 Subject: temporary asset location --- base/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base/src') 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 */ #![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), } } } -- cgit v1.2.3-70-g09d2