Improve testability of installation code by refactoring it to completely separate the GUI and non-GUI code, and to provide more robust support for non-GUI access to some type of Addon Manager activity.
13 lines
279 B
Python
13 lines
279 B
Python
# AddonManager gui init module
|
|
# (c) 2001 Juergen Riegel
|
|
# License LGPL
|
|
|
|
import AddonManager
|
|
|
|
FreeCADGui.addLanguagePath(":/translations")
|
|
FreeCADGui.addCommand("Std_AddonMgr", AddonManager.CommandAddonManager())
|
|
|
|
import FreeCAD
|
|
|
|
FreeCAD.__unit_test__ += ["TestAddonManagerGui"]
|