-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
31 lines (22 loc) · 658 Bytes
/
Copy pathmain.py
File metadata and controls
31 lines (22 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
RCRA Forge - Ratchet & Clank: Rift Apart Level Editor & Asset Exporter
Entry point
"""
import sys
import os
# Ensure project root is in path
sys.path.insert(0, os.path.dirname(__file__))
from PyQt6.QtWidgets import QApplication
from PyQt6.QtGui import QIcon
from ui.main_window import MainWindow
def main():
app = QApplication(sys.argv)
app.setApplicationName("RCRA Forge")
app.setApplicationVersion("0.1.0")
app.setOrganizationName("RCRA Community")
# HiDPI is always enabled in PyQt6 6.0+ — no setAttribute needed
window = MainWindow()
window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()