Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Sep 16, 2022
1 parent 84f38e2 commit ec5fcaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion catfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Copyright 2018-2022 Game Maker 2k - http://intdb.sourceforge.net/
Copyright 2018-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
$FileInfo: catfile.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
$FileInfo: catfile.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
'''

from __future__ import absolute_import, division, print_function, unicode_literals;
Expand Down
6 changes: 4 additions & 2 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Copyright 2018-2022 Game Maker 2k - http://intdb.sourceforge.net/
Copyright 2018-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
$FileInfo: pycatfile.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
$FileInfo: pycatfile.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
'''

from __future__ import absolute_import, division, print_function, unicode_literals;
Expand Down Expand Up @@ -69,7 +69,7 @@
__project__ = __program_name__;
__project_url__ = "https://github.com/GameMaker2k/PyCatFile";
__version_info__ = (0, 0, 1, "RC 1", 1);
__version_date_info__ = (2022, 9, 14, "RC 1", 1);
__version_date_info__ = (2022, 9, 16, "RC 1", 1);
__version_date__ = str(__version_date_info__[0]) + "." + str(__version_date_info__[1]).zfill(2) + "." + str(__version_date_info__[2]).zfill(2);
__revision__ = __version_info__[3];
__revision_id__ = "$Id$";
Expand Down Expand Up @@ -270,6 +270,8 @@ def CheckCompressionType(infile, closefp=True):
filetype = "zstd";
if(prefp==binascii.unhexlify("04224d18")):
filetype = "lz4";
if(prefp==binascii.unhexlify("504B0304")):
filetype = "zipfile";
catfp.seek(0, 0);
prefp = catfp.read(7);
if(prefp==binascii.unhexlify("fd377a585a0000")):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Copyright 2016-2022 Game Maker 2k - http://intdb.sourceforge.net/
Copyright 2016-2022 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski
$FileInfo: setup.py - Last Update: 9/14/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
$FileInfo: setup.py - Last Update: 9/16/2022 Ver. 0.0.1 RC 1 - Author: cooldude2k $
'''

import os, re, sys, pkg_resources;
Expand Down

0 comments on commit ec5fcaf

Please sign in to comment.