// // main.swift // Zyquo Cloud // // Author: Simon-Pierre Boucher // Mail: contact@spboucher.ai // // zyquo-verify — thin launcher for the Phase 7 harness. The harness itself // lives inside the ZyquoCloud binary (`--verify`) so it exercises the exact // production provider clients; this target execs the sibling binary. // import Foundation let selfURL = URL(fileURLWithPath: CommandLine.arguments[0]).resolvingSymlinksInPath() let appBinary = selfURL.deletingLastPathComponent().appendingPathComponent("ZyquoCloud") guard FileManager.default.isExecutableFile(atPath: appBinary.path) else { FileHandle.standardError.write(Data( "error: ZyquoCloud binary not found next to zyquo-verify (build with `swift build`)\n".utf8 )) exit(1) } let process = Process() process.executableURL = appBinary process.arguments = ["--verify"] + CommandLine.arguments.dropFirst() process.environment = ProcessInfo.processInfo.environment try process.run() process.waitUntilExit() exit(process.terminationStatus)