diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 03:34:57 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 03:34:57 -0400 |
| commit | 0ecf511e48a7e523c78e6805fb138fb7e4ff5e47 (patch) | |
| tree | 8f0d1db696f60cf6c28628d7a52a7b8573bc92ff /modules/prog-general.el | |
| parent | 59d5b403570763e6f45a8ff8a0fb803b2109fd0f (diff) | |
| download | dotemacs-0ecf511e48a7e523c78e6805fb138fb7e4ff5e47.tar.gz dotemacs-0ecf511e48a7e523c78e6805fb138fb7e4ff5e47.zip | |
feat(theme-studio): export through the save-file picker to overwrite in place
Re-exporting a theme used to land a "name (1).json" duplicate. The export built a blob and clicked a download link, which routes through the browser's downloads folder, and the browser uniquifies a re-save rather than replacing the file.
I switched export to the File System Access API (showSaveFilePicker): it writes straight to the file you pick, so re-exporting the same WIP.json overwrites it. Where the API is absent the old blob download still runs, mirroring importTheme's picker-with-fallback shape. A new #savetest browser gate stubs the picker and checks the written content and the close.
Diffstat (limited to 'modules/prog-general.el')
0 files changed, 0 insertions, 0 deletions
