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": {
"bundle": {
"active": true,
"targets": ["msi", "appimage"],
"targets": [
"msi",
"appimage"
],
"identifier": "opengoal-launcher",
"icon": [
"icons/32x32.png",

View file

@ -79,10 +79,11 @@
}
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
// 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
await areRequirementsMet();
// await areRequirementsMet();
await installProcess();
});