INNER CODE UNIT · JavaScript

getUserGnirehtetDir

viarotel-org/escrcpy · desktop/electron/configs/which/index.js:21

export function getUserGnirehtetDir({ store = electronStore } = {}) {
  return store.get('common.gnirehtetDir')
}

/**
 * Resolve the scrcpy directory: user-configured > platform built-in.
 */
export function getScrcpyDir(options) {
  return getUserScrcpyDir(options) || getExtraPlatformDirs().scrcpy
}

/**
 * Resolve the adb directory: user-configured > platform built-in.
 */
export function getAdbDir(options) {
  return getUserAdbDir(options) || getExtraPlatformDirs().adb
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…