From ab7b5a635cd5d7545831a1341278a9fec8499c30 Mon Sep 17 00:00:00 2001 From: airkoala Date: Wed, 17 Jun 2026 14:40:24 +1000 Subject: Add support for file:// URLs for initial working directory This will allow for foot to be registered as a MIME type handler for directories, allowing a "open with foot" action via xdg-open. Some applications pass a simple directory path (eg. qbittorrent) but others pass it as a "file://" URL (lutris), which is also sometimes percent-encoded (calibre) but sometimes not. This patch should be able to handle all 3 of these variants. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 12f2a514..c530d844 100644 --- a/meson.build +++ b/meson.build @@ -357,7 +357,7 @@ executable( 'util.h', version, dependencies: [tllist, utf8proc], - link_with: common, + link_with: [common, misc], install: true) install_data( -- cgit v1.3