{"version":3,"file":"dist-js-Vp9iew0y.js","names":[],"sources":["../../node_modules/.pnpm/@tauri-apps+plugin-process@2.3.1/node_modules/@tauri-apps/plugin-process/dist-js/index.js"],"sourcesContent":["import { invoke } from '@tauri-apps/api/core';\n\n// Copyright 2019-2023 Tauri Programme within The Commons Conservancy\n// SPDX-License-Identifier: Apache-2.0\n// SPDX-License-Identifier: MIT\n/**\n * Perform operations on the current process.\n * @module\n */\n/**\n * Exits immediately with the given `exitCode`.\n * @example\n * ```typescript\n * import { exit } from '@tauri-apps/plugin-process';\n * await exit(1);\n * ```\n *\n * @param code The exit code to use.\n * @returns A promise indicating the success or failure of the operation.\n *\n * @since 2.0.0\n */\nasync function exit(code = 0) {\n    await invoke('plugin:process|exit', { code });\n}\n/**\n * Exits the current instance of the app then relaunches it.\n * @example\n * ```typescript\n * import { relaunch } from '@tauri-apps/plugin-process';\n * await relaunch();\n * ```\n *\n * @returns A promise indicating the success or failure of the operation.\n *\n * @since 2.0.0\n */\nasync function relaunch() {\n    await invoke('plugin:process|restart');\n}\n\nexport { exit, relaunch };\n"],"x_google_ignoreList":[0],"mappings":"+HAsBA,eAAe,EAAK,EAAO,EAAG,CAC1B,MAAM,EAAO,sBAAuB,CAAE,MAAK,CAAC,CAChD,CAaA,eAAe,GAAW,CACtB,MAAM,EAAO,wBAAwB,CACzC"}