From a37f00bc10ec1a36c15d03cb87af7993a6fcb895 Mon Sep 17 00:00:00 2001 From: hicom150 Date: Mon, 12 Aug 2019 10:29:30 +0200 Subject: [PATCH] Fix uninstall handlers in Linux --- src/main/handlers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/handlers.js b/src/main/handlers.js index cdd7a97e..9e0ed897 100644 --- a/src/main/handlers.js +++ b/src/main/handlers.js @@ -355,7 +355,7 @@ function uninstallLinux () { 'applications', 'webtorrent-desktop.desktop' ) - rimraf(desktopFilePath) + rimraf.sync(desktopFilePath) const iconFilePath = path.join( os.homedir(), @@ -364,5 +364,5 @@ function uninstallLinux () { 'icons', 'webtorrent-desktop.png' ) - rimraf(iconFilePath) + rimraf.sync(iconFilePath) }