@agentbean/daemon 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/device-daemon.js +11 -1
- package/package.json +1 -1
package/dist/device-daemon.js
CHANGED
|
@@ -83,7 +83,17 @@ export function resolveCustomAgentRuntime(custom, runtimes) {
|
|
|
83
83
|
}
|
|
84
84
|
export function nativeDirectoryPickerCommands(platform = process.platform) {
|
|
85
85
|
if (platform === 'darwin') {
|
|
86
|
-
return [{
|
|
86
|
+
return [{
|
|
87
|
+
command: 'osascript',
|
|
88
|
+
args: [
|
|
89
|
+
'-e',
|
|
90
|
+
'tell application "Finder" to activate',
|
|
91
|
+
'-e',
|
|
92
|
+
'delay 0.2',
|
|
93
|
+
'-e',
|
|
94
|
+
'POSIX path of (choose folder with prompt "选择项目目录" default location (path to home folder))',
|
|
95
|
+
],
|
|
96
|
+
}];
|
|
87
97
|
}
|
|
88
98
|
if (platform === 'win32') {
|
|
89
99
|
return [{
|