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) }