Skip to content

Commit

Permalink
<fix> fix error occurs when extract multi-directory game
Browse files Browse the repository at this point in the history
update version to v1.4.1
  • Loading branch information
anonymousException committed Feb 16, 2024
1 parent 687e6e7 commit 32d5bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/renpy_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import time
import re
import traceback
import pathlib

from my_log import log_print

Expand Down Expand Up @@ -273,7 +274,7 @@ def CreateEmptyFileIfNotExsit(p):
target = p + i[len(p + '/../../'):]
targetDir = os.path.dirname(target)
if os.path.exists(targetDir) == False:
os.mkdir(targetDir)
pathlib.Path(targetDir).mkdir(parents=True, exist_ok=True)
if os.path.isfile(target) == False:
open(target, 'w').close()

Expand Down
2 changes: 1 addition & 1 deletion src/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def retranslateUi(self, MainWindow):
self.extractBtn.setText(QCoreApplication.translate("MainWindow", u"extract", None))
self.label_8.setText(QCoreApplication.translate("MainWindow", u"tl name", None))
self.tlNameText.setPlaceholderText(QCoreApplication.translate("MainWindow", u"only needs in file(s) mode,if you input the directory , just fill nothing. input the directory name under game\\tl Example: japanese or chinese or german", None))
self.versionLabel.setText(QCoreApplication.translate("MainWindow", u"Version 1.4.0", None))
self.versionLabel.setText(QCoreApplication.translate("MainWindow", u"Version 1.4.1", None))
self.copyrightLabel.setText(QCoreApplication.translate("MainWindow", u"\u00a92024 Last moment,All rights reserved.", None))
self.label_11.setText(QCoreApplication.translate("MainWindow", u"font", None))
self.selectFontText.setPlaceholderText(QCoreApplication.translate("MainWindow", u"input or choose or drag the font which supports the language after translation. Example : DejaVuSans.ttf (ren'py 's default font)", None))
Expand Down
2 changes: 1 addition & 1 deletion src/ui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
</rect>
</property>
<property name="text">
<string>Version 1.4.0</string>
<string>Version 1.4.1</string>
</property>
</widget>
<widget class="QLabel" name="copyrightLabel">
Expand Down

0 comments on commit 32d5bba

Please sign in to comment.