mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-01 18:28:27 +02:00
renamed event to plugins
This commit is contained in:
parent
ba14930403
commit
f8c04f62a4
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ from source.mkw.Game import Game
|
||||||
from source.mkw.ModConfig import ModConfig
|
from source.mkw.ModConfig import ModConfig
|
||||||
from source.option import Option
|
from source.option import Option
|
||||||
from source.translation import translate as _
|
from source.translation import translate as _
|
||||||
from source import event
|
from source import plugins
|
||||||
from source import *
|
from source import *
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ class Window(tkinter.Tk):
|
||||||
"""
|
"""
|
||||||
Run the installer
|
Run the installer
|
||||||
"""
|
"""
|
||||||
event.initialise_plugins()
|
plugins.initialise()
|
||||||
self.after(0, self.run_after)
|
self.after(0, self.run_after)
|
||||||
self.mainloop()
|
self.mainloop()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
def initialise_plugins() -> None:
|
def initialise() -> None:
|
||||||
"""
|
"""
|
||||||
Execute all the scripts in the ./plugins/ directory that don't start with an underscore.
|
Execute all the scripts in the ./plugins/ directory that don't start with an underscore.
|
||||||
:return:
|
:return:
|
Loading…
Reference in a new issue