Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: windows ollama cmd

Louis Beaumont9e61c5dbe46f
diff --git a/examples/apps/screenpipe-app-tauri/components/settings.tsx b/examples/apps/screenpipe-app-tauri/components/settings.tsx
index 7c57aeb55..29ad3cbe2 100644
--- a/examples/apps/screenpipe-app-tauri/components/settings.tsx
+++ b/examples/apps/screenpipe-app-tauri/components/settings.tsx
@@ -24,6 +24,7 @@ import { Separator } from "@/components/ui/separator";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { invoke } from "@tauri-apps/api/core";
import { spinner } from "./spinner";
+import { platform } from "@tauri-apps/plugin-os";
export function Settings({ className }: { className?: string }) {
const { settings, updateSettings } = useSettings();
@@ -211,9 +212,9 @@ export function Settings({ className }: { className?: string }) {
),
}}
>
- You need to [install Ollama](https://ollama.com/) and run
- `ollama run llama3.1` first. Currently only supports Llama
- 3.1.
+ {platform() === "windows"
+ ? "You need to [install Ollama](https://ollama.com/) and run `set OLLAMA_ORIGINS=* && ollama run llama3.1` first. Currently only supports Llama 3.1"
+ : "You need to [install Ollama](https://ollama.com/) and run `ollama run llama3.1` first. Currently only supports Llama 3.1"}
</MemoizedReactMarkdown>
</div>
</div>
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e70d2d7e4..a32a7f0b2 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.1.15"
+version = "0.1.16"
description = ""
authors = ["you"]
license = ""