From c9c4284bb00168c72ea88cc45528be7a25d9bfb4 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Tue, 13 Dec 2022 15:07:34 +0000 Subject: [PATCH] gluon: remove stable suffix in friendly product name --- gluon/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/index.js b/gluon/index.js index e9beb07..e165278 100644 --- a/gluon/index.js +++ b/gluon/index.js @@ -50,7 +50,7 @@ const findBrowserPath = async (forceBrowser) => { return [ browserPathsWin[whichBrowser], whichBrowser ]; }; -const getFriendlyName = whichBrowser => whichBrowser[0].toUpperCase() + whichBrowser.slice(1).replace(/[a-z]_[a-z]/g, _ => _[0] + ' ' + _[2].toUpperCase()); +const getFriendlyName = whichBrowser => whichBrowser[0].toUpperCase() + whichBrowser.slice(1).replace(/[a-z]_[a-z]/g, _ => _[0] + ' ' + _[2].toUpperCase()).replace(' Stable', ''); const getDataPath = () => join(__dirname, '..', 'chrome_data'); const startBrowser = async (url, { windowSize, forceBrowser }) => {