Fix destination of Atom extension executable in Atom.edit.py

This fixes #3560
This commit is contained in:
Andy_kl
2022-05-23 03:18:52 +04:00
parent d6ef47bfa7
commit cf07bf47de
+2 -2
View File
@@ -29,8 +29,8 @@ class Editor(renpy.editor.Editor):
if atom is not None:
return atom
DIR = os.path.abspath(os.path.dirname(__file__))
DIR = renpy.exports.fsdecode(DIR)
DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
DIR = os.path.join(renpy.exports.fsdecode(DIR), "atom")
if renpy.windows:
atom = os.path.join(DIR, "atom-windows", "atom.exe")