diff --git a/src/routes/index.ts b/src/routes/index.ts index e6213c650..17a5adad3 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -34,6 +34,7 @@ function index(req: Request, res: Response) { headingStyle: options.headingStyle, layoutOrientation: options.layoutOrientation, platform: process.platform, + isElectron: utils.isElectron(), mainFontSize: parseInt(options.mainFontSize), treeFontSize: parseInt(options.treeFontSize), detailFontSize: parseInt(options.detailFontSize), diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index 7c1d3fbbe..d2db1f175 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -6,7 +6,7 @@