Skip to content

Vasak-OS/vasak-file-manager

Repository files navigation

Vasak File Manager

A modern file manager built with Tauri, Vue 3, and TypeScript.

System Dependencies

Linux

Before running the application, you need to install the following system dependencies:

Ubuntu/Debian

sudo apt update
sudo apt install -y \
  libwebkit2gtk-4.1-dev \
  libgtk-3-dev \
  libayatana-appindicator3-dev \
  librsvg2-dev \
  gstreamer1.0-plugins-base \
  gstreamer1.0-plugins-good \
  gstreamer1.0-plugins-bad \
  gstreamer1.0-libav

Fedora

sudo dnf install -y \
  webkit2gtk4.1-devel \
  gtk3-devel \
  libappindicator-gtk3-devel \
  librsvg2-devel \
  gstreamer1-plugins-base \
  gstreamer1-plugins-good \
  gstreamer1-plugins-bad-free \
  gstreamer1-libav

Arch Linux

sudo pacman -S --needed \
  webkit2gtk-4.1 \
  gtk3 \
  libappindicator-gtk3 \
  librsvg \
  gst-plugins-base \
  gst-plugins-good \
  gst-plugins-bad \
  gst-libav

Note: GStreamer plugins are required for media playback support in WebKit. If you encounter errors like GStreamer element autoaudiosink not found, ensure the gstreamer1.0-plugins-base (or equivalent for your distro) package is installed.

cachyos-extra-v3/wavpack 5.9.0-1.1 1,03 MiB 0,56 MiB extra/gst-plugins-good 1.28.1-1 7,30 MiB 2,25 MiB

Recommended IDE Setup

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's Take Over mode by following these steps:

  1. Run Extensions: Show Built-in Extensions from VS Code's command palette, look for TypeScript and JavaScript Language Features, then right click and select Disable (Workspace). By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
  2. Reload the VS Code window by running Developer: Reload Window from the command palette.

You can learn more about Take Over mode here.