mirror of
https://github.com/tauri-apps/tauri-plugin-process.git
synced 2026-01-31 00:55:17 +01:00
chore(api): update @since tag to 2.0.0 (#395)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/5064150737 Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
This commit is contained in:
committed by
tauri-bot
parent
4980285e95
commit
de76808e87
4
dist-js/index.d.ts
vendored
4
dist-js/index.d.ts
vendored
@@ -18,7 +18,7 @@ declare global {
|
||||
* @param code The exit code to use.
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
declare function exit(code?: number): Promise<void>;
|
||||
/**
|
||||
@@ -31,7 +31,7 @@ declare function exit(code?: number): Promise<void>;
|
||||
*
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
declare function relaunch(): Promise<void>;
|
||||
export { exit, relaunch };
|
||||
|
||||
4
dist-js/index.min.js
vendored
4
dist-js/index.min.js
vendored
@@ -12,7 +12,7 @@
|
||||
* @param code The exit code to use.
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function exit(code = 0) {
|
||||
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
|
||||
@@ -27,7 +27,7 @@ async function exit(code = 0) {
|
||||
*
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function relaunch() {
|
||||
return window.__TAURI_INVOKE__("plugin:process|restart");
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* @param code The exit code to use.
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function exit(code = 0) {
|
||||
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
|
||||
@@ -27,7 +27,7 @@ async function exit(code = 0) {
|
||||
*
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function relaunch() {
|
||||
return window.__TAURI_INVOKE__("plugin:process|restart");
|
||||
|
||||
@@ -24,7 +24,7 @@ declare global {
|
||||
* @param code The exit code to use.
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function exit(code = 0): Promise<void> {
|
||||
return window.__TAURI_INVOKE__("plugin:process|exit", { code });
|
||||
@@ -40,7 +40,7 @@ async function exit(code = 0): Promise<void> {
|
||||
*
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function relaunch(): Promise<void> {
|
||||
return window.__TAURI_INVOKE__("plugin:process|restart");
|
||||
|
||||
Reference in New Issue
Block a user