mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
fix: adjust feature flags, wrong zip usage (#367)
This commit is contained in:
committed by
GitHub
parent
7ae7167fbe
commit
caf8456864
@@ -3,13 +3,13 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
window.alert = function (message) {
|
||||
window.__TAURI_INVOKE__('plugin:dialog|message', {
|
||||
message: message.toString()
|
||||
})
|
||||
}
|
||||
window.__TAURI_INVOKE__("plugin:dialog|message", {
|
||||
message: message.toString(),
|
||||
});
|
||||
};
|
||||
|
||||
window.confirm = function (message) {
|
||||
return window.__TAURI_INVOKE__('plugin:dialog|confirm', {
|
||||
message: message.toString()
|
||||
})
|
||||
}
|
||||
return window.__TAURI_INVOKE__("plugin:dialog|confirm", {
|
||||
message: message.toString(),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user