(#887) 对 oshino 使用临时目录而不是 datadir
This commit is contained in:
parent
89c19c1b24
commit
09f4d45adc
@ -37,7 +37,7 @@ sub startup {
|
||||
my $descstr = $packagejson->{description};
|
||||
|
||||
my $secret = "";
|
||||
my $secretfile_path = $ENV{LRR_DATA_DIRECTORY} ? $ENV{LRR_DATA_DIRECTORY} . "/oshino" : "oshino";
|
||||
my $secretfile_path = get_temp . "/oshino";
|
||||
if ( -e $secretfile_path ) {
|
||||
$secret = Mojo::File->new($secretfile_path)->slurp;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user