#include "${LavishScript.HomeDirectory}/scripts/mr/common/file_helpers.iss"
objectdef AliasSettingsController
{
    variable string BasePath

    method Initialize()
    {
        BasePath = ${FileHelpers.GetDirectoryFromFilePath[_FILE_]}
        LGUI2:LoadPackageFile["${BasePath}/ui.json"]
    }

    method Shutdown()
    {
        LGUI2:UnloadPackageFile["${BasePath}/ui.json"]
    }

    method OnClose()
    {
        Script:End
    }
}   