diff --git a/Intentor/Program.cs b/Intentor/Program.cs index 504e173..c05fc1f 100644 --- a/Intentor/Program.cs +++ b/Intentor/Program.cs @@ -36,6 +36,9 @@ public class Program var app = builder.Build(); + // Ensure /data exists (Home Assistant add-on persistent storage mount) + Directory.CreateDirectory("/data"); + // Create database file + schema (no migrations tooling required) using (var scope = app.Services.CreateScope()) { diff --git a/Intentor/config.yaml b/Intentor/config.yaml index 3ee780d..3a2d131 100644 --- a/Intentor/config.yaml +++ b/Intentor/config.yaml @@ -1,6 +1,6 @@ name: "Intentor" description: "Intent based automation platform" -version: 0.0.8 +version: 0.0.9 slug: "intentor" init: false arch: