Skip to content

Commit

Permalink
push more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronya-Rand committed Dec 27, 2022
1 parent ab2d4be commit 77136c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion launcher/game/distribute_gui.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ label build_distributions:
python:
f = readVersion()
if f is None or f == -1:
interface.error(_("`renpy-version.txt` missing or corrupt."), _("Check if this file exists or attempt to compile guess."),)
if project.current.name != "launcher":
interface.error(_("`renpy-version.txt` missing or corrupt."), _("Check if this file exists or attempt to compile guess."),)
elif f < 7:
interface.error(_("You are trying to compile a Ren'Py 6 DDLC mod in Ren'Py 7."), _("Please use DDMM 6 in order to comile your Ren'Py 6 mod."),)

Expand Down
5 changes: 3 additions & 2 deletions launcher/game/front_page.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ init python:

# Adds backwards compat between 4.1.0+ and older templates
def NewEditorOpen(path):
if os.path.exists(os.path.join(persistent.projects_directory, project.current.name, path)):
base = persistent.projects_directory if persistent.projects_directory is not None else config.basedir
if os.path.exists(os.path.join(base, project.current.name, path)):
return editor.Edit(path, check=True)
else:
old_path = path.split("/")
old_path.pop(1)
return editor.Edit(str(os.path.join(*b)).replace("\\", "/"), check=True)
return editor.Edit(str(os.path.join(*old_path)).replace("\\", "/"), check=True)

screen front_page:
frame:
Expand Down
2 changes: 1 addition & 1 deletion launcher/game/options.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ init -1 python hide:
# These control the name and version of the game, that are reported
# with tracebacks and other debugging logs.
config.name = "Doki Doki Mod Maker"
config.version = "1.5.0"
config.version = "1.5.2"

#####################
# Themes
Expand Down

0 comments on commit 77136c6

Please sign in to comment.