mirror of
https://github.com/tvytlx/ai-agent-deep-dive.git
synced 2026-04-04 16:14:50 +08:00
Add extracted source directory and README navigation
This commit is contained in:
5
extracted-source/node_modules/bundle-name/index.js
generated
vendored
Normal file
5
extracted-source/node_modules/bundle-name/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
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")`);
|
||||
}
|
||||
Reference in New Issue
Block a user