Skip to content

Commit f9b416f

Browse files
committed
Setup Hook
1 parent 807e111 commit f9b416f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

public/setup_hook.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def run_hook(release_path: str):
2+
print("Running setup hook...")
3+
with open(f"{release_path}/pwv.js", "w") as file:
4+
file.write("window.hasPWV = true;\n")
5+

0 commit comments

Comments
 (0)