support open browse path

This commit is contained in:
Julian Freeman
2026-04-16 14:58:40 -04:00
parent a8ad89074f
commit 3fa6a91717
9 changed files with 159 additions and 12 deletions

View File

@@ -27,6 +27,8 @@ const {
openProfileError,
openBrowserProfile,
page,
pickExecutablePath,
pickUserDataPath,
profileSortKey,
refreshAll,
savingConfig,
@@ -115,17 +117,35 @@ const {
</label>
<label class="field-group">
<span>Executable Path</span>
<input
v-model="createConfigForm.executablePath"
placeholder="C:\Program Files\...\chrome.exe"
/>
<div class="path-input-row">
<input
v-model="createConfigForm.executablePath"
placeholder="C:\Program Files\...\chrome.exe"
/>
<button
class="secondary-button"
type="button"
@click="pickExecutablePath"
>
Browse File
</button>
</div>
</label>
<label class="field-group field-span">
<span>User Data Path</span>
<input
v-model="createConfigForm.userDataPath"
placeholder="C:\Users\...\User Data"
/>
<div class="path-input-row">
<input
v-model="createConfigForm.userDataPath"
placeholder="C:\Users\...\User Data"
/>
<button
class="secondary-button"
type="button"
@click="pickUserDataPath"
>
Browse Folder
</button>
</div>
</label>
</div>
<div class="config-form-actions">