Debian Codegraph @

core/config.rb

raw symbols SCIP
1 # frozen_string_literal: true
2 # -*- coding: utf-8 -*-
3 #
4 # Config
5 #
6
7 # アプリケーションごとの設定たち
8 # mikutterの設定
9
10 module CHIConfig
11 # このアプリケーションの名前。
12 NAME = 'mikutter'
13
14 # 名前の略称
15 ACRO = 'mikutter'
16
17 # pidファイル
18 PIDFILE = "#{File::SEPARATOR}tmp#{File::SEPARATOR}#{ACRO}.pid"
19
20 # コンフィグファイルのディレクトリ
21 CONFROOT = Mopt.confroot rescue File.expand_path('~/.mikutter')
22
23 # 一時ディレクトリ
24 TMPDIR = File.join(CONFROOT, 'tmp')
25
26 # ログディレクトリ
27 LOGDIR = File.join(CONFROOT, 'log')
28
29 # プラグインの設定等
30 SETTINGDIR = File.join(CONFROOT, 'settings')
31
32 # キャッシュディレクトリ
33 CACHE = File.join(CONFROOT, 'cache')
34
35 # プラグインディレクトリ
36 PLUGIN_PATH = [
37 File.expand_path(File.join(__dir__, '..', 'plugin')),
38 ]
39
40 # AutoTag有効?
41 AutoTag = false
42
43 # 再起動後に、前回取得したポストを取得しない
44 NeverRetrieveOverlappedMumble = false
45
46 # このソフトのバージョン。
47 VERSION = [5, 1, 2, 9999]
48
49 end