Removing xdg-config.
This commit is contained in:
parent
31d0cb6033
commit
7f2f8c41f8
@ -38,15 +38,8 @@ sub connect {
|
||||
|
||||
sub _db_path($class) {
|
||||
my $home = $ENV{HOME};
|
||||
my $flatpak_config_dir = $ENV{XDG_CONFIG_HOME};
|
||||
my $db_path = '';
|
||||
{
|
||||
if ($flatpak_config_dir) {
|
||||
$db_path = $flatpak_config_dir . '/';
|
||||
next;
|
||||
}
|
||||
$db_path = $home . '/' if $home;
|
||||
}
|
||||
$db_path .= '.japachar/db.sqlite';
|
||||
path($db_path)->parent->mkpath;
|
||||
return $db_path;
|
||||
|
Loading…
Reference in New Issue
Block a user