waveterm/pkg/util
Evan Simkowitz 33f05c6e0c
Update data and config paths to match platform defaults (#1047)
Going forward for new installations, config and data files will be
stored at the platform default paths, as defined by
[env-paths](https://www.npmjs.com/package/env-paths).

For backwards compatibility, if the `~/.waveterm` or `WAVETERM_HOME`
directory exists and contains valid data, it will be used. If this check
fails, then `WAVETERM_DATA_HOME` and `WAVETERM_CONFIG_HOME` will be
used. If these are not defined, then `XDG_DATA_HOME` and
`XDG_CONFIG_HOME` will be used. Finally, if none of these are defined,
the [env-paths](https://www.npmjs.com/package/env-paths) defaults will
be used.

As with the existing app, dev instances will write to `waveterm-dev`
directories, while all others will write to `waveterm`.
2024-10-22 09:26:58 -07:00
..
daystr update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
dbutil Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
ds new wstore package, move core types to there. create a syncmap 2024-05-20 15:57:15 -07:00
migrateutil checkpoint on integratng wstore. moved to wails data structures, got immer working again, Window object, transitioned to generic DB ops, lots more 2024-05-24 15:08:24 -06:00
panic Update data and config paths to match platform defaults (#1047) 2024-10-22 09:26:58 -07:00
shellutil Update data and config paths to match platform defaults (#1047) 2024-10-22 09:26:58 -07:00
utilfn vdom 3 (#1033) 2024-10-17 14:50:36 -07:00