Skip to content

Commit be45243

Browse files
committed
Change lock directory path to use user runtime directory instead of /tmp
1 parent ef6d9ee commit be45243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/application.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ Examples:
592592
* Returns the path to the lock directory for drop window locks.
593593
*/
594594
private string get_lock_dir() {
595-
var dir = Path.build_filename(Environment.get_tmp_dir(), "app-manager-locks");
595+
var dir = Path.build_filename(Environment.get_user_runtime_dir(), "app-manager-locks");
596596
DirUtils.create_with_parents(dir, 0755);
597597
return dir;
598598
}

0 commit comments

Comments
 (0)