改进
This commit is contained in:
6
main.py
6
main.py
@@ -1,14 +1,12 @@
|
||||
from textual.app import App
|
||||
from screens import FileSelectorScreen
|
||||
|
||||
ver = "0.3.2"
|
||||
import screens
|
||||
|
||||
class AppLauncher(App):
|
||||
CSS_PATH = "styles.css"
|
||||
TITLE = "潜进 - 辅助记忆程序"
|
||||
BINDINGS = [("escape", "quit", "退出"), ("d", "toggle_dark", "改变色调")]
|
||||
SCREENS = {
|
||||
"file_selection_screen": FileSelectorScreen,
|
||||
"file_selection_screen": screens.FileSelectorScreen,
|
||||
}
|
||||
|
||||
def on_mount(self) -> None:
|
||||
|
Reference in New Issue
Block a user