ref: verify hardware

This commit is contained in:
leukipp
2024-12-15 19:51:11 +01:00
parent 7f54996960
commit 8ac11731c8
3 changed files with 58 additions and 34 deletions
+2 -2
View File
@@ -15,9 +15,9 @@ global.WEBVIEW = global.WEBVIEW || {
* @param {Object} args - The command-line arguments to customize the initialization process.
* @returns {boolean} Returns true if the initialization was successful.
*/
const init = (args) => {
const init = async (args) => {
if (!args.web_url) {
console.error("Please provide the '--web-url' parameter.");
console.error("Please provide the '--web-url' parameter");
return app.quit();
}
const url = new URL(args.web_url);