From b1acf22f3deaa7ef233ec5e3e7ea12aa5c02929e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 5 Sep 2026 10:18:57 +0200 Subject: Accept asset path for variable expansion in shell arguments --- src/Script/Shell.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Script') diff --git a/src/Script/Shell.hs b/src/Script/Shell.hs index c89e5af..6f6eb64 100644 --- a/src/Script/Shell.hs +++ b/src/Script/Shell.hs @@ -34,6 +34,7 @@ import System.Posix.Process import System.Posix.Types import System.Process hiding (ShellCommand) +import Asset import Network import Network.Ip import Output @@ -114,6 +115,7 @@ shellExpansionTemplate fromSingle fromList = listToMaybe $ catMaybes [ single id , single (T.pack . show @Integer) , single (T.pack . show @Scientific) + , single textAssetPath ] where single :: forall c. (ExprType c) => (c -> Text) -> Maybe (b -> a) -- cgit v1.2.3