diff --git a/python_core/config.py b/python_core/config.py index 391e20a..879e909 100644 --- a/python_core/config.py +++ b/python_core/config.py @@ -28,7 +28,7 @@ class Settings(BaseSettings): project_root: Path = Path(__file__).parent.parent temp_dir: Path = Field(default_factory=lambda: Path.home() / ".mixvideo" / "temp") cache_dir: Path = Field(default_factory=lambda: Path.home() / ".mixvideo" / "cache") - projects_dir: Path = Field(default_factory=lambda: Path.home() / "MixVideo Projects") + projects_dir: Path = Field(default_factory=lambda: Path.home() / "MixVideoProjects") # Video Processing max_video_resolution: str = "1920x1080" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b0f7be4..2240d29 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,7 +28,10 @@ "csp": "default-src 'self'; img-src 'self' asset: data: http://asset.localhost; media-src 'self' asset: http://asset.localhost; video-src 'self' asset: http://asset.localhost; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' ipc: http://ipc.localhost", "assetProtocol": { "enable": true, - "scope": [] + "scope": [ + "**/**", + "$HOME/.mixvideo/**/**" + ] }, "freezePrototype": true } diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index f70385b..bd833a2 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -9,7 +9,15 @@ const HomePage: React.FC = () => { return (