Skip to content

Commit

Permalink
Added .skipcrc check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Illidanz committed Aug 19, 2024
1 parent 3a2efdf commit df1d51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hacktools/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.35.1"
__version__ = "0.35.2"
4 changes: 2 additions & 2 deletions hacktools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def main(gui):
runGUI()


def runStartup(nocrc=False):
def runStartup():
if datafolder != "" and not os.path.isdir(datafolder):
makeFolder(datafolder)
if appname != "":
Expand All @@ -441,7 +441,7 @@ def runStartup(nocrc=False):
if filecheck != "" and not os.path.isfile(filecheck):
logError(filecheck, "file not found.")
return False
if crc >= 0 and not nocrc:
if crc >= 0 and not os.path.isfile(".skipcrc"):
checkcrc = crcFile(filecheck)
if crc != checkcrc:
logMessage("Checksum mismatch for", filecheck, "(" + toHex(checkcrc) + ", expected", toHex(crc) + ")")
Expand Down

0 comments on commit df1d51f

Please sign in to comment.