mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-19 14:47:36 -04:00
setup process works, but checking requirements crashes the app
This commit is contained in:
parent
75e203e72e
commit
e3369dba51
|
@ -12,7 +12,10 @@
|
|||
"tauri": {
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": ["msi", "appimage"],
|
||||
"targets": [
|
||||
"msi",
|
||||
"appimage"
|
||||
],
|
||||
"identifier": "opengoal-launcher",
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue