#! /bin/bash set -Efeuxo pipefail APP= " Unlag Neo " DISPLAY_NAME= " Unlag Neo " if [ -e " ${APP} .app " ] ; then echo " Error: ${APP} .app exists already " exit 1 fi mkdir -vp " ${APP} .app/Contents/MacOS " " ${APP} .app/Contents/Resources " PATH= " $PATH :/usr/libexec " swiftc - -o " ${APP} .app/Contents/MacOS/ ${APP} " << ' SWIFT ' import Foundation import AppKit import CoreGraphics import CoreMedia import ServiceManagement import ApplicationServices @preconcurrency import ScreenCaptureKit struct CaptureError: Error, CustomStringConvertible { let description: String init(_ description: String) { self.description = description } } @MainActor var showedPermissionAlert = false @MainActor var showedAccessibilityAlert = false @MainActor func relaunchUnlag() { let isApp = Bundle.main.bundlePath.hasSuffix(".app") let target = isApp ? Bundle.main.bundlePath : (Bundle.main.executablePath ??…