Skip to content

Commit dadd9bf

Browse files
committed
Added error popup
1 parent 5cb275f commit dadd9bf

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "satisfactory-mod-launcher-gui",
33
"version": "1.0.0",
4-
"author": "mircearoata <mircearoatapalade@yahoo.ro>",
4+
"author": "mircearoata",
55
"description": "Handles Satisfactory mods and mod loader",
66
"license": "GPL-3.0",
77
"main": "./dist/electron/main.js",

src/renderer/components/Launcher.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ export default {
351351
.then(() => {
352352
this.inProgress.splice(this.inProgress.indexOf(modVersion));
353353
this.refreshCurrentMod();
354+
}).catch((err) => {
355+
this.$bvModal.msgBoxOk(err.toString());
356+
this.inProgress.splice(this.inProgress.indexOf(modVersion));
354357
});
355358
},
356359
uninstallMod(modVersion) {
@@ -359,6 +362,9 @@ export default {
359362
.then(() => {
360363
this.inProgress.splice(this.inProgress.indexOf(modVersion));
361364
this.refreshCurrentMod();
365+
}).catch((err) => {
366+
this.$bvModal.msgBoxOk(err.toString());
367+
this.inProgress.splice(this.inProgress.indexOf(modVersion));
362368
});
363369
},
364370
toggleModInstalled(modVersion) {

0 commit comments

Comments
 (0)