mirror of
https://codeberg.org/scip/note.git
synced 2025-12-17 04:31:02 +01:00
Fix confusion of new users regarding db files.
Now, we're using a different file extension for every db file type. That way, if the user tries another file type and forgets to specify a filename, the default is NOT to use the same one as before, but another file. That way the message "file is encrypted" will not appear anymore, if a new user follows the above steps.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
package NOTEDB::pwsafe3;
|
||||
|
||||
$NOTEDB::pwsafe3::VERSION = "1.08";
|
||||
$NOTEDB::pwsafe3::VERSION = "1.09";
|
||||
use strict;
|
||||
use Data::Dumper;
|
||||
use Time::Local;
|
||||
@@ -28,7 +28,7 @@ sub new {
|
||||
my $self = {};
|
||||
bless($self,$class);
|
||||
|
||||
$self->{dbname} = $param{dbname} || File::Spec->catfile($ENV{HOME}, ".notedb");
|
||||
$self->{dbname} = $param{dbname} || File::Spec->catfile($ENV{HOME}, ".notedb.psafe3");
|
||||
|
||||
$self->{mtime} = $self->get_stat();
|
||||
$self->{unread} = 1;
|
||||
|
||||
Reference in New Issue
Block a user