Ensure /data directory creation at startup.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: "Intentor"
|
||||
description: "Intent based automation platform"
|
||||
version: 0.0.8
|
||||
version: 0.0.9
|
||||
slug: "intentor"
|
||||
init: false
|
||||
arch:
|
||||
|
||||
Reference in New Issue
Block a user