MCPcopy Index your code
hub / github.com/material-shell/material-shell / create_link

Function create_link

scripts/install.py:102–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 printc(GREEN, f"Installing extension...")
101
102 def create_link():
103 os.symlink(os.path.realpath(dist_dir), install_path)
104
105 # Check if material-shell is already installed
106 # Note that os.path.exists returns false if a symlink exists at the path, but it is broken. So we need to check islink too.

Callers 1

installFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected