mediar-ai / screenpipe

24/7 local AI screen & mic recording. Build AI apps that have the full context. Works with Ollama. Alternative to Rewind.ai. Open. Secure. You own your data. Rust.
https://screenpi.pe
MIT License
6.48k stars 336 forks source link

[bug] Desktop app only supports debian based #419

Open tonybenoy opened 14 hours ago

tonybenoy commented 14 hours ago

describe the bug As the desktop app is build it used apt get to install dependencies. This breaks in other distros like Arch or Fedora

to reproduce steps to reproduce the behavior:

Building the desktop app fails as following

cwd /home/user/src/screenpipe/screenpipe-app-tauri/src-tauri
sudo: apt-get: command not found
 95 |   cmake: 'C:\\Program Files\\CMake\\bin',
 96 | }
 97 | 
 98 | /* ########## Linux ########## */
 99 | if (platform == 'linux') {
100 |   // Install APT packages
                     ^
ShellError: Failed with exit code 1
 info: {
  "exitCode": 1,
  "stderr": "sudo: apt-get: command not found\n",
  "stdout": ""
}

      at new ShellError (12:16)
      at new ShellPromise (72:16)
      at BunShell (187:35)
      at module code (/home//user/src/screenpipe/screenpipe-app-tauri/scripts/pre_build.js:100:10)

Bun v1.1.29 (Linux x64)

expected behavior Ideally it should work independent of distro screenshots if applicable, add screenshots to help explain your problem.

system information:

linear[bot] commented 14 hours ago

MED-146 [bug] Desktop app only supports debian based

louis030195 commented 8 hours ago

thanks for the issue @tonybenoy would love any help to make this work on other distros!