From e5b0b7b8cca1af500d82407031c00ad6e87fe0f3 Mon Sep 17 00:00:00 2001 From: viarotel Date: Fri, 13 Oct 2023 17:58:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?style:=20=F0=9F=93=9D=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20vite=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron.vite.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron.vite.config.js b/electron.vite.config.js index 85f55d64..f54c8cac 100644 --- a/electron.vite.config.js +++ b/electron.vite.config.js @@ -12,7 +12,7 @@ export default defineConfig({ '@root': resolve('./'), }, }, - plugins: [externalizeDepsPlugin()], + plugins: [externalizeDepsPlugin({ exclude: [] })], }, preload: { resolve: { @@ -20,7 +20,7 @@ export default defineConfig({ '@resources': resolve('resources'), }, }, - plugins: [externalizeDepsPlugin()], + plugins: [externalizeDepsPlugin({ exclude: [] })], }, renderer: { resolve: { From 8455e8692be67bc947f76ebcbd4ea4f476ccbca4 Mon Sep 17 00:00:00 2001 From: viarotel Date: Fri, 13 Oct 2023 18:21:45 +0800 Subject: [PATCH 2/3] =?UTF-8?q?perf:=20=F0=9F=94=A8=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E9=80=9A=E7=94=A8=E7=9A=84=E6=96=87=E4=BB=B6=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E8=B7=AF=E5=BE=84=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/Advanced/index.vue | 1 + src/renderer/src/store/scrcpy/model/record/index.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/components/Advanced/index.vue b/src/renderer/src/components/Advanced/index.vue index a4816b32..c2eb9702 100644 --- a/src/renderer/src/components/Advanced/index.vue +++ b/src/renderer/src/components/Advanced/index.vue @@ -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) { diff --git a/src/renderer/src/store/scrcpy/model/record/index.js b/src/renderer/src/store/scrcpy/model/record/index.js index 6a7b1373..d120371c 100644 --- a/src/renderer/src/store/scrcpy/model/record/index.js +++ b/src/renderer/src/store/scrcpy/model/record/index.js @@ -3,11 +3,12 @@ export default () => { return [ { - label: '录制存储路径', + label: '文件存储地址', type: 'input.directory', field: '--record', value: $path.resolve('../'), placeholder: '默认值为执行应用的同级目录', + tips: '截图和录制的音视频都存在这里', }, { label: '录制视频格式', From 88e21b96121c07b409feb367a168688f4f680ff9 Mon Sep 17 00:00:00 2001 From: viarotel <38282758+viarotel@users.noreply.github.com> Date: Fri, 13 Oct 2023 18:22:12 +0800 Subject: [PATCH 3/3] chore(main): release 1.6.1 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index babda842..e4f942cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.1](https://github.com/viarotel-org/escrcpy/compare/v1.6.0...v1.6.1) (2023-10-13) + + +### Performance Improvements + +* 🔨 自定义通用的文件存储路径相关逻辑完善 ([8455e86](https://github.com/viarotel-org/escrcpy/commit/8455e8692be67bc947f76ebcbd4ea4f476ccbca4)) + ## [1.6.0](https://github.com/viarotel-org/escrcpy/compare/v1.5.3...v1.6.0) (2023-10-13) diff --git a/package.json b/package.json index 8d618c83..6a304055 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "escrcpy", - "version": "1.6.0", + "version": "1.6.1", "description": "Scrcpy Powered by Electron", "author": "viarotel", "homepage": "https://github.com/viarotel-org/escrcpy",