mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2025-01-31 11:53:50 +01:00
perf: 🔨 自定义通用的文件存储路径相关逻辑完善
This commit is contained in:
parent
e5b0b7b8cc
commit
8455e8692b
@ -155,6 +155,7 @@ export default {
|
||||
async handleDirectory({ field }) {
|
||||
const res = await this.$electron.ipcRenderer.invoke('show-open-dialog', {
|
||||
properties: ['openDirectory'],
|
||||
defaultPath: this.scrcpyForm[field],
|
||||
})
|
||||
|
||||
if (!res) {
|
||||
|
@ -3,11 +3,12 @@ export default () => {
|
||||
|
||||
return [
|
||||
{
|
||||
label: '录制存储路径',
|
||||
label: '文件存储地址',
|
||||
type: 'input.directory',
|
||||
field: '--record',
|
||||
value: $path.resolve('../'),
|
||||
placeholder: '默认值为执行应用的同级目录',
|
||||
tips: '截图和录制的音视频都存在这里',
|
||||
},
|
||||
{
|
||||
label: '录制视频格式',
|
||||
|
Loading…
x
Reference in New Issue
Block a user