Skip to content

Commit ec5fcaf

Browse files
author
Kazuki Suzuki Przyborowski
authored
Add files via upload
1 parent 84f38e2 commit ec5fcaf

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

catfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Copyright 2018-2022 Game Maker 2k - http://intdb.sourceforge.net/
1515
Copyright 2018-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
1616
17-
$FileInfo: catfile.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
17+
$FileInfo: catfile.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
1818
'''
1919

2020
from __future__ import absolute_import, division, print_function, unicode_literals;

pycatfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Copyright 2018-2022 Game Maker 2k - http://intdb.sourceforge.net/
1515
Copyright 2018-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
1616
17-
$FileInfo: pycatfile.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
17+
$FileInfo: pycatfile.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
1818
'''
1919

2020
from __future__ import absolute_import, division, print_function, unicode_literals;
@@ -69,7 +69,7 @@
6969
__project__ = __program_name__;
7070
__project_url__ = "https://github.com/GameMaker2k/PyCatFile";
7171
__version_info__ = (0, 0, 1, "RC 1", 1);
72-
__version_date_info__ = (2022, 9, 14, "RC 1", 1);
72+
__version_date_info__ = (2022, 9, 16, "RC 1", 1);
7373
__version_date__ = str(__version_date_info__[0]) + "." + str(__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2);
7474
__revision__ = __version_info__[3];
7575
__revision_id__ = "$Id$";
@@ -270,6 +270,8 @@ def CheckCompressionType(infile, closefp=True):
270270
filetype = "zstd";
271271
if(prefp==binascii.unhexlify("04224d18")):
272272
filetype = "lz4";
273+
if(prefp==binascii.unhexlify("504B0304")):
274+
filetype = "zipfile";
273275
catfp.seek(0, 0);
274276
prefp = catfp.read(7);
275277
if(prefp==binascii.unhexlify("fd377a585a0000")):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Copyright 2016-2022 Game Maker 2k - http://intdb.sourceforge.net/
1414
Copyright 2016-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
1515
16-
$FileInfo: setup.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
16+
$FileInfo: setup.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
1717
'''
1818

1919
import os, re, sys, pkg_resources;

0 commit comments

Comments
 (0)