This commit is contained in:
wuxu
2026-03-31 17:51:43 +08:00
commit 8d726651e2
4756 changed files with 984942 additions and 0 deletions

5
node_modules/bundle-name/index.js generated vendored Normal file
View 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")`);
}