Skip to content

Commit

Permalink
perf: ♻️ 目录结构及描述调整
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 30, 2023
1 parent b18256b commit f9a32d6
Show file tree
Hide file tree
Showing 41 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}

Expand Down
4 changes: 2 additions & 2 deletions electron/configs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.

0 comments on commit f9a32d6

Please sign in to comment.