fix(cli): create local appdata dir w/ quickstart

This commit ensures that the $Env:LOCALAPPDATA/komorebi dir is created
by the quickstart command, as it cannot be assumed that this will always
exist, especially on new machines with recent versions of Windows 11.

fix #671
This commit is contained in:
LGUG2Z
2024-02-16 13:15:04 -08:00
parent 549500887f
commit d52715a8fa
4 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ impl WindowsApi {
}
.ok()
{
Ok(_) => {}
Ok(()) => {}
Err(error) => {
tracing::error!("enum_display_devices: {}", error);
return Err(error.into());
+1
View File
@@ -31,6 +31,7 @@ use crate::INITIAL_CONFIGURATION_LOADED;
use crate::NO_TITLEBAR;
use crate::REMOVE_TITLEBARS;
#[allow(clippy::struct_field_names)]
#[derive(Debug, Clone, Serialize, Getters, CopyGetters, MutGetters, Setters, JsonSchema)]
pub struct Workspace {
#[getset(get = "pub", set = "pub")]