ParthJadhav / Verve

Verve is a lightweight and blazingly fast launcher for accessing and opening applications, files and documents. ⚑
GNU Affero General Public License v3.0
658 stars 25 forks source link

add linux support πŸš€ #32

Open ParthJadhav opened 1 year ago

ParthJadhav commented 1 year ago

Changes required:

  1. Changing this to include linux release. https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/tauri.conf.json#L76

  2. Changing the paths below to work for Linux file system, Might need to research a bit on how to add platform specific logic. Creating a struct with the platform specific paths would be a good idea. https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/src/util.rs#L25-L61

  3. Might need to update the command below to support opening apps on linux. https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/src/util.rs#L76-L82

  4. Below Path may also need updation: https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/src/util.rs#L84-L90

  5. Might need to figure out how to derive icons on linux systems... https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/src/util/icons.rs#L59-L78

  6. This shortcut might need to be updated to META + Shift + G https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src-tauri/src/util/preferences.rs#L45 https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src/routes/Settings/lib/controls/ShortcutControl.svelte#L78 https://github.com/ParthJadhav/Verve/blob/d0f00a541360471e155b2d9f3b9af31971c0a678/src/routes/Settings/lib/controls/ShortcutControl.svelte#L97-L103

There might be more changes, Depending on the arising issues. Please do ping below if you want to create sub-issues for all of those...

matbgn commented 1 year ago

Would really love to test it on Linux πŸ˜„

ParthJadhav commented 1 year ago

Would really love to test it on Linux πŸ˜„

That would be amazing !! I'm not planning to take it up soon, feel free to look around & experiment stuffπŸ˜„