Spaces:
Paused
Paused
Download node_modules/bundle-name/index.js from Shreyansh327/mcp-client: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/Shreyansh327/mcp-client/resolve/main/node_modules/bundle-name/index.js
- Command line
-
hf download hf://spaces/Shreyansh327/mcp-client/node_modules/bundle-name/index.js
-
curl -L -o index.js https://huggingface.co/spaces/Shreyansh327/mcp-client/resolve/main/node_modules/bundle-name/index.js
362 Bytes
| import {runAppleScript} from 'run-applescript'; | |
| export default async function bundleName(bundleId) { | |
| return runAppleScript(`tell application "Finder" to set app_path to application file id "${bundleId}" as string\ntell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`); | |
| } | |