mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
Export opened a console, ran the CLI in it and left the result in whatever directory the app happened to be started from, which on this platform is next to the executable. The mac has always written into ~/Downloads as codeburn-<timestamp> and then revealed the result in Finder with it selected, so this does the same: no console, a folder of CSVs or one JSON file with the mac's yyyy-MM-dd-HHmmss stamp, and Explorer opening on it through /select, which is the Windows counterpart of activateFileViewerSelecting. The Downloads folder comes from the known-folder API rather than %USERPROFILE%\Downloads, since it can be moved. The stamp is formatted in the page because a local-time format in Rust would cost a dependency or a hand-rolled timezone; it never reaches a shell, but it does become a directory name, so Rust checks it is digits and hyphens of the right length rather than trusting it. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||