UNPKG

shipthis

Version:

ShipThis manages building and uploading your Godot games to the App Store and Google Play.

68 lines (65 loc) 2.14 kB
import { jsxs, jsx } from 'react/jsx-runtime'; import { Flags } from '@oclif/core'; import { render } from 'ink'; import 'node:fs'; import 'axios'; import 'crypto-js'; import 'uuid'; import '../../../../baseCommand-CTn3KGH3.js'; import 'luxon'; import 'node:path'; import 'chalk'; import 'node:crypto'; import 'node:readline'; import 'node:url'; import 'readline-sync'; import 'isomorphic-git'; import '@tanstack/react-query'; import 'react'; import 'fast-glob'; import 'yazl'; import 'socket.io-client'; import 'fullscreen-ink'; import 'ink-spinner'; import 'string-length'; import 'strip-ansi'; import 'open'; import '@inkjs/ui'; import { c as BaseGameCommand } from '../../../../baseGameCommand-8VL7xe-O.js'; import 'marked'; import 'marked-terminal'; import { N as NextSteps } from '../../../../NextSteps-DbJHmscQ.js'; import 'qrcode'; import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../../AppleBundleIdDetails-BJC7GCx_.js'; import { C as Command } from '../../../../Command-Cj6F5B5a.js'; import '@expo/apple-utils/build/index.js'; import 'deepmerge'; import 'ini'; import 'fs'; import 'path'; import '../../../../Title-BCQtayg6.js'; import '../../../../useAppleApp-CR847GWc.js'; import '../../../../Table-FaNgpyeq.js'; import '../../../../useAppleBundleId-BnwPmVEu.js'; class GameIosAppStatus extends BaseGameCommand { static args = {}; static description = "Shows the Game iOS App status. "; static examples = ["<%= config.bin %> <%= command.id %>"]; static flags = { gameId: Flags.string({ char: "g", description: "The ID of the game" }) }; async run() { const game = await this.getGame(); const authState = await this.refreshAppleAuthState(); const ctx = authState.context; const steps = []; render( /* @__PURE__ */ jsxs(Command, { command: this, children: [ /* @__PURE__ */ jsx(AppleAppDetails, { ctx, iosBundleId: game.details?.iosBundleId }), /* @__PURE__ */ jsx(AppleBundleIdDetails, { ctx, iosBundleId: game.details?.iosBundleId }), /* @__PURE__ */ jsx(NextSteps, { steps }) ] }) ); } } export { GameIosAppStatus as default };