aboutsummaryrefslogtreecommitdiff
path: root/devel/electron28/files/patch-ui_base_resource_resource__bundle.cc
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2024-01-29 07:45:17 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2024-01-29 07:47:07 +0000
commitf88751e60ac087f27ad0aa9393839272b6d8bdd7 (patch)
tree81ea3525e768f6787adfa8899435959d676c2ff2 /devel/electron28/files/patch-ui_base_resource_resource__bundle.cc
parent873eee30b8a665a7e6b16d74dc37c2dfbfdc7050 (diff)
downloadports-f88751e60ac087f27ad0aa9393839272b6d8bdd7.tar.gz
ports-f88751e60ac087f27ad0aa9393839272b6d8bdd7.zip
devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
Diffstat (limited to 'devel/electron28/files/patch-ui_base_resource_resource__bundle.cc')
-rw-r--r--devel/electron28/files/patch-ui_base_resource_resource__bundle.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-ui_base_resource_resource__bundle.cc b/devel/electron28/files/patch-ui_base_resource_resource__bundle.cc
new file mode 100644
index 000000000000..d4dbfd90c95d
--- /dev/null
+++ b/devel/electron28/files/patch-ui_base_resource_resource__bundle.cc
@@ -0,0 +1,11 @@
+--- ui/base/resource/resource_bundle.cc.orig 2023-11-29 21:40:44 UTC
++++ ui/base/resource/resource_bundle.cc
+@@ -925,7 +925,7 @@ ResourceScaleFactor ResourceBundle::GetMaxResourceScal
+ }
+
+ ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ return max_scale_factor_;
+ #else
+ return GetMaxSupportedResourceScaleFactor();