repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update all non-major dependencies
[ProtonMail-WebClient.git]
/
applications
/
pass-desktop
/
src
/
utils
/
extra-resource.js
blob
25d144bc0039c8444a3518dc90d19d2395144646
1
const
{
type
} =
require
(
'os'
);
2
3
const
getExtraResource
= () => {
4
switch
(
type
()) {
5
case
'Darwin'
:
6
return
[
'./src/uninstallers/macos/uninstall.sh'
];
7
case
'Windows_NT'
:
8
return
[
'./src/uninstallers/windows/uninstall.bat'
];
9
default
:
10
return
[];
11
}
12
};
13
14
module
.
exports
=
getExtraResource
;