fix: adjust feature flags, wrong zip usage (#367)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 18:47:12 -03:00
committed by GitHub
parent 7ae7167fbe
commit caf8456864
14 changed files with 167 additions and 154 deletions
+8 -8
View File
@@ -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(),
});
};