Skip to content

Commit

Permalink
fix: disable restart interval in app ui for now
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Sep 3, 2024
1 parent 1152a96 commit aebb9ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resolver = "2"


[workspace.package]
version = "0.1.72"
version = "0.1.73"
authors = ["louis030195 <hi@louis030195.com>"]
description = ""
repository = "https://github.com/mediar-ai/screenpipe"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function RecordingSettings({
monitorId: localSettings.monitorId,
audioDevices: localSettings.audioDevices,
usePiiRemoval: localSettings.usePiiRemoval,
restartInterval: localSettings.restartInterval,
// restartInterval: localSettings.restartInterval,
disableAudio: localSettings.disableAudio,
};
console.log("Settings to update:", settingsToUpdate);
Expand Down Expand Up @@ -410,7 +410,7 @@ export function RecordingSettings({
</Label>
</div>
</div>
<div className="flex flex-col space-y-2">
{/* <div className="flex flex-col space-y-2">
<Label
htmlFor="restartInterval"
className="flex items-center space-x-2"
Expand Down Expand Up @@ -446,7 +446,7 @@ export function RecordingSettings({
className="w-full"
placeholder="Enter restart interval in minutes (0 to disable)"
/>
</div>
</div> */}

<div className="flex flex-col space-y-2">
<div className="flex items-center space-x-2">
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
version = "0.1.80"
version = "0.1.81"
description = ""
authors = ["you"]
license = ""
Expand Down
3 changes: 2 additions & 1 deletion examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ fn spawn_sidecar(app: &tauri::AppHandle) -> Result<CommandChild, String> {
let restart_interval_str = restart_interval.to_string();
if restart_interval > 0 {
args.push("--restart-interval");
args.push(&restart_interval_str);
// args.push(&restart_interval_str);
args.push("0"); // HACK disabled for now bcs leaking
}

if !pipes.is_empty() {
Expand Down

0 comments on commit aebb9ad

Please sign in to comment.