diff options
author | Fede | 2016-08-11 10:37:59 +0200 |
---|---|---|
committer | Fede | 2016-08-11 10:37:59 +0200 |
commit | 76d1d20f77041ebc8d4e1fdf6b149529f90d89d5 (patch) | |
tree | 1bbe360d3fa24dd617a7fee0e19d094774c868f8 /telegram-history-dump.patch | |
download | aur-telegram-history-dump-git.tar.gz |
Initial commit
Diffstat (limited to 'telegram-history-dump.patch')
-rw-r--r-- | telegram-history-dump.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/telegram-history-dump.patch b/telegram-history-dump.patch new file mode 100644 index 000000000000..9210238fd2e6 --- /dev/null +++ b/telegram-history-dump.patch @@ -0,0 +1,26 @@ +diff --git a/config.yaml b/config.yaml +index 2edbea3..d95caa1 100644 +--- a/config.yaml ++++ b/config.yaml +@@ -56,7 +56,7 @@ + # Target directory for the backup files + # If this is a relative path it will be relative to the script's directory + # Absolute path starts with '/' or '~' +- backup_dir: './output' ++ backup_dir: '~/telegram-history-dump/output' + + # Maximum number of messages to backup for each target (0 means unlimited) + backlog_limit: 0 +diff --git a/telegram-history-dump.rb b/telegram-history-dump.rb +index cfb2fc2..a6c6077 100755 +--- a/telegram-history-dump.rb ++++ b/telegram-history-dump.rb +@@ -226,7 +226,7 @@ end + + $config = YAML.load_file( + cli_opts.cfgfile || +- File.expand_path('../config.yaml', __FILE__) ++ File.expand_path('~/telegram-history-dump/config.yaml', __FILE__) + ) + $log = Logger.new(STDOUT) + |