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: ci

Louis Beaumont58ec678ff4dd
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 24df012ff..46c4fcb45 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,6 +22,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
+ - name: Install dependencies
+ run: sudo apt-get update && sudo apt-get install -y libavutil-dev pkg-config
+
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
@@ -47,6 +50,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
+ - name: Install dependencies
+ run: brew install ffmpeg
+
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
diff --git a/screenpipe/src/main.rs b/screenpipe/src/main.rs
index 107a53085..3edd88ecd 100644
--- a/screenpipe/src/main.rs
+++ b/screenpipe/src/main.rs
@@ -13,12 +13,29 @@ use tokio::sync::oneshot;
mod core;
mod server;
+const DISPLAY: &str = r"
+ ___ ___ ___ ___ ___ ___ ___ ___ ___
+ / /\ / /\ / /\ / /\ / /\ /__/\ / /\ ___ / /\ / /\
+ / /:/_ / /:/ / /::\ / /:/_ / /:/_ \ \:\ / /::\ / /\ / /::\ / /:/_
+ / /:/ /\ / /:/ / /:/\:\ / /:/ /\ / /:/ /\ \ \:\ / /:/\:\/ /:/ / /:/\:\/ /:/ /\
+ / /:/ /::\ / /:/ ___ / /:/~/:/ / /:/ /:/_ / /:/ /:/_ _____\__\:\ / /:/~/:/__/::\ / /:/~/:/ /:/ /:/_
+ /__/:/ /:/\:/__/:/ / //__/:/ /:/__/__/:/ /:/ //__/:/ /:/ //__/::::::::\ /__/:/ /:/\__\/\:\__/__/:/ /:/__/:/ /:/ /\
+ \ \:\/:/~/:\ \:\ / /:\ \:\/:::::\ \:\/:/ /:\ \:\/:/ /:\ \:\~~\~~\/ \ \:\/:/ \ \:\/\ \:\/:/\ \:\/:/ /:/
+ \ \::/ /:/ \ \:\ /:/ \ \::/~~~~ \ \::/ /:/ \ \::/ /:/ \ \:\ ~~~ \ \::/ \__\::/\ \::/ \ \::/ /:/
+ \__\/ /:/ \ \:\/:/ \ \:\ \ \:\/:/ \ \:\/:/ \ \:\ \ \:\ /__/:/ \ \:\ \ \:\/:/
+ /__/:/ \ \::/ \ \:\ \ \::/ \ \::/ \ \:\ \ \:\ \__\/ \ \:\ \ \::/
+ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/
+
+";
+
async fn start_server(local_data_dir: String, db: Arc<Mutex<Option<DatabaseManager>>>) {
println!("starting server...");
let (tx, rx) = oneshot::channel();
tokio::spawn(async move {
server::start_frame_server(tx, local_data_dir.to_string(), db.clone()).await;
});
+ println!("{}", DISPLAY);
+
// Wait for the server to start
let _ = rx.await;
println!("started server...");