From d49dd3938c5ac0fa0f0183bdf50aac1fdaa58437 Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Fri, 17 Jan 2025 10:48:22 -0500 Subject: [PATCH] Convert filename paths to POSIX format paths Fixes #46 --- shinylive/_app_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shinylive/_app_json.py b/shinylive/_app_json.py index 5111f62..1306dbe 100644 --- a/shinylive/_app_json.py +++ b/shinylive/_app_json.py @@ -65,7 +65,7 @@ def read_app_files(appdir: Path, destdir: Path) -> list[FileContentJson]: if rel_dir == ".": # pyright: ignore[reportUnnecessaryComparison] output_filename = filename else: - output_filename = str(rel_dir / filename) + output_filename = str((rel_dir / filename).as_posix()) if filename == "shinylive.js": print(