mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 04:57:38 -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": {
|
"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",
|
||||||
|
|
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue