Simple tauri app

This commit is contained in:
2025-08-21 13:46:37 +02:00
parent fad58390f4
commit 671c4b5a6a
2541 changed files with 984065 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const { run, logError } = require('./index')
module.exports.run = (args, binName) => {
return new Promise((resolve, reject) => {
run(args, binName, (error, res) => {
if (error) {
reject(error)
} else {
resolve(res)
}
})
})
}
module.exports.logError = logError