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

release-app button to share logs fixed

Louis Beaumont11b959b183c1
diff --git a/screenpipe-app-tauri/components/log-file-button.tsx b/screenpipe-app-tauri/components/log-file-button.tsx
index 9cb1c3060..11d883093 100644
--- a/screenpipe-app-tauri/components/log-file-button.tsx
+++ b/screenpipe-app-tauri/components/log-file-button.tsx
@@ -25,8 +25,11 @@ import React from "react";
import { LogViewer, LogViewerSearch } from "@patternfly/react-log-viewer";
import { Toolbar, ToolbarContent, ToolbarItem } from "@patternfly/react-core";
import { open } from "@tauri-apps/plugin-shell";
-import { getVersion } from '@tauri-apps/api/app';
-import { version as osVersion, platform as osPlatform } from '@tauri-apps/plugin-os';
+import { getVersion } from "@tauri-apps/api/app";
+import {
+ version as osVersion,
+ platform as osPlatform,
+} from "@tauri-apps/plugin-os";
const LogContent = ({
content,
@@ -237,9 +240,10 @@ export const LogFileButton = ({
setIsSending(true);
try {
- const BASE_URL =
- (await invoke("get_env", { name: "BASE_URL_PRIVATE" })) ??
- "https://screenpi.pe";
+ // const BASE_URL =
+ // (await invoke("get_env", { name: "BASE_URL_PRIVATE" })) ??
+ // "https://screenpi.pe";
+ const BASE_URL = "https://screenpi.pe";
const identifier = settings.user?.id || machineId;
const type = settings.user?.id ? "user" : "machine";
@@ -269,7 +273,14 @@ export const LogFileButton = ({
const confirmRes = await fetch(`${BASE_URL}/api/logs/confirm`, {
method: "POST",
headers: { "Content-Type": "application/json" },
- body: JSON.stringify({ path, identifier, type, os, os_version, app_version }),
+ body: JSON.stringify({
+ path,
+ identifier,
+ type,
+ os,
+ os_version,
+ app_version,
+ }),
});
const {
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 601c349ed..3dbfec85b 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.27.7"
+version = "0.27.8"
description = ""
authors = ["you"]
license = ""