diff --git a/altcatfile.py b/altcatfile.py index 6fdc070..5c23d58 100644 --- a/altcatfile.py +++ b/altcatfile.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: altcatfile.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: altcatfile.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/catfile.py b/catfile.py index 24ee20e..6afdc1d 100755 --- a/catfile.py +++ b/catfile.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: catfile.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: catfile.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/checksum.py b/checksum.py index 941d5ed..4db0b71 100755 --- a/checksum.py +++ b/checksum.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: checksum.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: checksum.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/compression.py b/compression.py index ccf7c49..2c08274 100755 --- a/compression.py +++ b/compression.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: compression.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: compression.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/mkcatfilebundle.py b/mkcatfilebundle.py index 3e6a926..da49750 100755 --- a/mkcatfilebundle.py +++ b/mkcatfilebundle.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: mkbundle.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: mkbundle.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' import os diff --git a/neocatfile.py b/neocatfile.py index 94d452c..d867550 100755 --- a/neocatfile.py +++ b/neocatfile.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: neocatfile.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: neocatfile.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/phpcatfile.php b/phpcatfile.php index d5f4152..53b0467 100755 --- a/phpcatfile.php +++ b/phpcatfile.php @@ -12,7 +12,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: phpcatfile.php - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: phpcatfile.php - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ */ date_default_timezone_set('UTC'); diff --git a/pycatfile.py b/pycatfile.py index 7ac4e7d..eb6da8d 100755 --- a/pycatfile.py +++ b/pycatfile.py @@ -14,7 +14,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: pycatfile.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: pycatfile.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes @@ -303,8 +303,8 @@ def decode_unicode_escape(value): 'format_delimiter': __file_format_delimiter__, 'format_ver': __file_format_ver__, 'new_style': __use_new_style__, 'use_advanced_list': __use_advanced_list__, 'use_alt_inode': __use_alt_inode__} __project__ = __program_name__ __project_url__ = "https://github.com/GameMaker2k/PyCatFile" -__version_info__ = (0, 14, 20, "RC 1", 1) -__version_date_info__ = (2024, 12, 5, "RC 1", 1) +__version_info__ = (0, 15, 0, "RC 1", 1) +__version_date_info__ = (2024, 12, 6, "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] @@ -2661,7 +2661,10 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, filevalues=[], ext curfid = curfid + 1 if(ftype == 2): flinkname = os.readlink(fname) - fdev = fstatinfo.st_rdev + try: + fdev = fstatinfo.st_rdev + except AttributeError: + fdev = 0 getfdev = GetDevMajorMinor(fdev) fdev_minor = getfdev[0] fdev_major = getfdev[1] @@ -3847,7 +3850,10 @@ def PackArchiveFile(infiles, outfile, dirlistfromtxt=False, compression="auto", curfid = curfid + 1 if(ftype == 2): flinkname = os.readlink(fname) - fdev = fstatinfo.st_rdev + try: + fdev = fstatinfo.st_rdev + except AttributeError: + fdev = 0 getfdev = GetDevMajorMinor(fdev) fdev_minor = getfdev[0] fdev_major = getfdev[1] @@ -6486,7 +6492,10 @@ def ListDirToArrayAlt(infiles, dirlistfromtxt=False, followlink=False, listonly= curfid = curfid + 1 if(ftype == 2): flinkname = os.readlink(fname) - fdev = fstatinfo.st_rdev + try: + fdev = fstatinfo.st_rdev + except AttributeError: + fdev = 0 getfdev = GetDevMajorMinor(fdev) fdev_minor = getfdev[0] fdev_major = getfdev[1] diff --git a/pyshell-old.py b/pyshell-old.py index e213b9f..9b1e4c6 100755 --- a/pyshell-old.py +++ b/pyshell-old.py @@ -13,7 +13,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: pyshell-old.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: pyshell-old.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/pyshell.py b/pyshell.py index 06fb0fe..2672801 100755 --- a/pyshell.py +++ b/pyshell.py @@ -13,7 +13,7 @@ Copyright 2018-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2018-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: pyshell.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: pyshell.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes diff --git a/setup.py b/setup.py index 11c2b41..68a8f9c 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ Copyright 2016-2024 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2016-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: setup.py - Last Update: 12/5/2024 Ver. 0.14.20 RC 1 - Author: cooldude2k $ + $FileInfo: setup.py - Last Update: 12/6/2024 Ver. 0.15.0 RC 1 - Author: cooldude2k $ ''' import os