perf: ♻️ 目录结构及描述调整

This commit is contained in:
viarotel 2023-10-30 11:13:02 +08:00
parent b18256b6fc
commit f9a32d6f28
41 changed files with 5 additions and 5 deletions

View File

@ -3,11 +3,11 @@ import { extraResolve } from '@electron/helpers/index.js'
export const getAdbPath = () => {
switch (process.platform) {
case 'win32':
return extraResolve('win/platform-tools/adb.exe')
return extraResolve('win/android-platform-tools/adb.exe')
case 'darwin':
return extraResolve('mac/platform-tools/adb')
return extraResolve('mac/android-platform-tools/adb')
case 'linux':
return extraResolve('linux/platform-tools/adb')
return extraResolve('linux/android-platform-tools/adb')
}
}

View File

@ -2,9 +2,9 @@ import { resolve } from 'node:path'
import { buildResolve, extraResolve } from '@electron/helpers/index.js'
export { adbPath } from './adb.js'
export { adbPath } from './android-platform-tools/index.js'
export { scrcpyPath } from './scrcpy.js'
export { scrcpyPath } from './scrcpy/index.js'
export const desktopPath = process.env.DESKTOP_PATH