app
Retrieve Eagle application attributes like version, architecture, and language.
console.log(eagle.app.version); // Eagle version
console.log(eagle.app.build); // Eagle Build number
console.log(eagle.app.locale); // Application interface language, en/zh_CN/zh_TW/ja_JP
console.log(eagle.app.arch); // x86 | x64
console.log(eagle.app.platform); // darwin | win32
console.log(eagle.app.isWindows); // true | false, whether the operating system is Windows
console.log(eagle.app.isMac); // true | false, whether the operating system is Mac
console.log(eagle.app.runningUnderARM64Translation); // Whether it is running in rosetta translation modeMethods
isDarkColors()
eagle.app.isDarkColors(); // true | falsegetPath(name)
getFileIcon(path[, options])
createThumbnailFromPath(path, maxSize)
show()
Properties
version
build
locale
arch
platform
env
execPath
pid
isWindows
isMac
runningUnderARM64Translation
theme
userDataPath
Last updated