share active-sessions dir with dbus backend
Both backends now use ~/.local/share/ollie/sessions/active since they are mutually exclusive.
This commit is contained in:
parent
29b08a87ad
commit
8fa630f65c
|
|
@ -670,7 +670,7 @@ func (s *Manager) InterruptAll() {
|
||||||
// --- Session Persistence ---
|
// --- Session Persistence ---
|
||||||
|
|
||||||
func (s *Manager) activeSessionsDir() string {
|
func (s *Manager) activeSessionsDir() string {
|
||||||
return filepath.Join(paths.DataDir(), "sessions", "active-9p")
|
return filepath.Join(paths.DataDir(), "sessions", "active")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Manager) persistSession(id string) {
|
func (s *Manager) persistSession(id string) {
|
||||||
|
|
|
||||||
Reference in New Issue