Fix uninstall handlers in Linux
This commit is contained in:
@@ -355,7 +355,7 @@ function uninstallLinux () {
|
|||||||
'applications',
|
'applications',
|
||||||
'webtorrent-desktop.desktop'
|
'webtorrent-desktop.desktop'
|
||||||
)
|
)
|
||||||
rimraf(desktopFilePath)
|
rimraf.sync(desktopFilePath)
|
||||||
|
|
||||||
const iconFilePath = path.join(
|
const iconFilePath = path.join(
|
||||||
os.homedir(),
|
os.homedir(),
|
||||||
@@ -364,5 +364,5 @@ function uninstallLinux () {
|
|||||||
'icons',
|
'icons',
|
||||||
'webtorrent-desktop.png'
|
'webtorrent-desktop.png'
|
||||||
)
|
)
|
||||||
rimraf(iconFilePath)
|
rimraf.sync(iconFilePath)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user