function standaloneApplicationCompiler()
    %STANDALONEAPPLICATIONCOMPILER Package MATLAB Programs for deployment as standalone applications

    if ~matlab.internal.capability.Capability.isSupported(matlab.internal.capability.Capability.LocalClient) || feature('webui')
        % JSD or MO
        message.publish(strcat('/matlab_compiler/app_gallery'), 'StandaloneDesktopApp');
    else
        % Fall back to the old app in the classic desktop
        applicationCompiler
    end

    end
