master
registerExtension
async function registerExtension(ext, exePath, appName, fileName, icon, appKey) {