From 80aa50555721e205b6a65e6e2e17ca329dc89a39 Mon Sep 17 00:00:00 2001 From: Marin Minnerly Date: Mon, 15 Apr 2024 20:26:57 -0700 Subject: [PATCH] Add room for Windows path for client settings --- justfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index ea7e702b..dab09860 100644 --- a/justfile +++ b/justfile @@ -17,7 +17,12 @@ tmpdir := `mktemp -d` global_defs_path := tmpdir / "globalTypes.d.lua" sourcemap_path := tmpdir / "sourcemap.json" -client_settings := "/Applications/RobloxStudio.app/Contents/MacOS/ClientSettings" +# FIXME: Add path for Windows +client_settings := if os_family() == "unix" { + "/Applications/RobloxStudio.app/Contents/MacOS/ClientSettings" +} else { + "" +} _lint-file-extensions: #!/usr/bin/env bash @@ -35,7 +40,7 @@ default: wally-install: wally install rojo sourcemap {{ tests_project }} -o {{ sourcemap_path }} - wally-package-types --sourcemap {{ sourcemap_path }} {{ packages_dir }} + wally-package-types --sourcemap {{ sourcemap_path }} {{ absolute_path(packages_dir) }} init: foreman install