-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
20 lines (16 loc) · 825 Bytes
/
main.py
File metadata and controls
20 lines (16 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from data.recipes_raw_mats_database_builder import generate_raw_materials_table_dict
from src.S2RM_frontend import start
from src.config import check_has_selected_mc_vers, update_config
# TODO
# - dont fully change config json seledted mc version till successfuly changred vers
# XXX issue when importing a lot of files sometimes the loading bar doesnt show after a bit
# but mainly the input materials list doesnt get reset and new stuff just gets appended to the end?
# - add tooltip to show all input file names when they get truncated
# - make yes no update/decline buttosn consistent for update prompting
def main():
# Check if the user's program or mc version needs updating/downloading
update_config(redownload=False, delete=True)
# Start the frontend
start()
if __name__ == "__main__":
main()