2018-05-23 04:37:09 +02:00
import isDev from 'electron-is-dev' ;
2019-03-20 20:09:58 +01:00
export default function doLogWarningConsoleMessage ( ) {
2018-05-23 04:37:09 +02:00
const style = {
redTitle :
2018-11-29 00:21:33 +01:00
'color: red; font-size: 36px; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;, font-weight: bold;' ,
normalText : 'font-size: 18px;' ,
2018-05-23 04:37:09 +02:00
redText :
'color: red; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; font-size: 24px;' ,
} ;
console . clear ( ) ;
console . log ( '%cScam alert!' , style . redTitle ) ;
console . log (
'%cIf someone told you to copy / paste something here you have a chance of being scammed.' ,
style . normalText
) ;
console . log (
'%cPasting anything in here could give attackers access to your LBC credits or wallet.' ,
style . normalText
) ;
console . log (
2018-10-27 16:23:27 +02:00
"%cIf you don't understand exactly what you are doing here, please close this window and keep your LBC credits/wallet safe." ,
2018-05-23 04:37:09 +02:00
style . redText
) ;
console . log (
2018-10-27 16:23:27 +02:00
'%cIf you do understand exactly what you are doing, joins us, earn LBC, and make LBRY better! All of LBRY is open-source and we have a sweet secret handshake. Get started at https://lbry.tech/contribute' ,
2018-05-23 04:37:09 +02:00
style . normalText
) ;
}