Skip to content

Commit 898315a

Browse files
author
Kazuki Suzuki Przyborowski
committed
Small update
1 parent ea3fb9e commit 898315a

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

catfile.ini

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ len = 18
2323
hex = e381ade38193e38395e382a1e382a4e383ab
2424
ver = 001
2525
name = NekoFile
26-
proname = PyNekoFile
2726
lower = nekofile
2827
magic = \u306d\u3053\u30d5\u30a1\u30a4\u30eb
2928
delimiter = \x00
@@ -37,11 +36,23 @@ len = 12
3736
hex = eb84a4ecbd94ed8c8cec9dbc
3837
ver = 001
3938
name = NekoFile
40-
proname = PyNekoFile
4139
lower = nekofile
4240
magic = \ub124\ucf54\ud30c\uc77c
4341
delimiter = \x00
4442
extension = .\ub124\ucf54
4543
newstyle = true
4644
advancedlist = true
4745
altinode = true
46+
47+
[\uace0\uc591\uc774\ud30c\uc77c]
48+
len = 21
49+
hex = ea3eaeb095eab094ed8c8cec9db4
50+
ver = 001
51+
name = GoyangiFile
52+
lower = goyangifile
53+
magic = \uace0\uc591\uc774\ud30c\uc77c
54+
delimiter = \x00
55+
extension = .\uace0\uc591\uc774
56+
newstyle = true
57+
advancedlist = true
58+
altinode = false

pycatfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ def decode_unicode_escape(value):
310310
__file_format_multi_dict__.update({'ねこファイル': {'format_name': "NekoFile", 'format_magic': "ねこファイル", 'format_lower': "nekofile", 'format_len': 21, 'format_hex': "e381ade38193e38395e382a1e382a4e383abe", 'format_delimiter': "\x00", 'format_ver': "001", 'new_style': True, 'use_advanced_list': True, 'use_alt_inode': False, 'format_extension': ".ねこ" } } )
311311
if("네코파일" not in __file_format_multi_dict__):
312312
__file_format_multi_dict__.update({'네코파일': {'format_name': "NekoFile", 'format_magic': "네코파일", 'format_lower': "nekofile", 'format_len': 15, 'format_hex': "eb84a4ecbd94ed8c8c", 'format_delimiter': "\x00", 'format_ver': "001", 'new_style': True, 'use_advanced_list': True, 'use_alt_inode': False, 'format_extension': ".네코" } } )
313+
if("고양이파일" not in __file_format_multi_dict__):
314+
__file_format_multi_dict__.update({'고양이파일': {'format_name': "GoyangiFile", 'format_magic': "고양이파일", 'format_lower': "goyangifile", 'format_len': 21, 'format_hex': "ea3eaeb095eab094ed8c8cec9db4", 'format_delimiter': "\x00", 'format_ver': "001", 'new_style': True, 'use_advanced_list': True, 'use_alt_inode': False, 'format_extension': ".고양이" } } )
313315
__file_format_name__ = __file_format_multi_dict__[__file_format_default__]['format_name']
314316
__file_format_lower__ = __file_format_multi_dict__[__file_format_default__]['format_lower']
315317
__file_format_magic__ = __file_format_multi_dict__[__file_format_default__]['format_magic']

0 commit comments

Comments
 (0)