Your ROOT_URL in app.ini is https://bdgit.educoder.net/ but you are visiting http://bdgit.educoder.net/plf32upqf/CyberLantingAssignments/src/commit/e0edf15b424d3e2814e2410942b031485d273bb8/Assignment2/frontend/todo-list/node_modules/bundle-name/index.js You should set ROOT_URL correctly, otherwise the web may not work correctly.

6 lines
362 B

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")`);
}