Started to try and rebrand this?
This commit is contained in:
@@ -27,6 +27,9 @@ use std::sync::{Arc, Condvar, Mutex};
|
||||
|
||||
use effectcraft_effects::Buf;
|
||||
use effectcraft_raster::Image;
|
||||
use effectcraft_rustmotion_common::{self, APP_NAME};
|
||||
|
||||
// Uses effectcraft_rustmotion_common::APP_NAME (see its definition)
|
||||
|
||||
/// File format version (part of the folder layout).
|
||||
const VERSION: &str = "v1";
|
||||
@@ -281,7 +284,7 @@ pub fn default_folder() -> PathBuf {
|
||||
if cfg!(windows)
|
||||
&& let Some(l) = std::env::var_os("LOCALAPPDATA")
|
||||
{
|
||||
return PathBuf::from(l).join("EffectCraft").join("Disk Cache");
|
||||
return PathBuf::from(l).join(APP_NAME).join("Disk Cache");
|
||||
}
|
||||
if let Some(x) = std::env::var_os("XDG_CACHE_HOME") {
|
||||
return PathBuf::from(x).join("effectcraft/disk-cache");
|
||||
|
||||
Reference in New Issue
Block a user