setup process works, but checking requirements crashes the app

This commit is contained in:
trippjoe 2022-05-30 09:48:37 -04:00
parent 75e203e72e
commit e3369dba51
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,10 @@
"tauri": { "tauri": {
"bundle": { "bundle": {
"active": true, "active": true,
"targets": ["msi", "appimage"], "targets": [
"msi",
"appimage"
],
"identifier": "opengoal-launcher", "identifier": "opengoal-launcher",
"icon": [ "icon": [
"icons/32x32.png", "icons/32x32.png",

View file

@ -79,10 +79,11 @@
} }
onMount(async () => { onMount(async () => {
// TODO - app crashes after checking requirements
// in the future i want to save the requirements met in the settings.json store file so it doesnt need to be run every time // in the future i want to save the requirements met in the settings.json store file so it doesnt need to be run every time
// then the requirements met function can check against the store data to avoid running the external bins each time // then the requirements met function can check against the store data to avoid running the external bins each time
// gotta revise this in the future because this will still run the install process even if the user doesnt meet the requirements // gotta revise this in the future because this will still run the install process even if the user doesnt meet the requirements
await areRequirementsMet(); // await areRequirementsMet();
await installProcess(); await installProcess();
}); });