diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2022-06-22 06:53:47 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2022-06-22 06:56:20 +0000 |
commit | 1780f894bd82243f6fe8b0795364f952ae10b9c1 (patch) | |
tree | a21d83d3dc4a29a9a3075605c851c55494a93f26 /devel/electron18/files/patch-chrome_browser_download_download__prefs.h | |
parent | 0e6e415499814b667ce2ae5b30ad5b39b654ee88 (diff) | |
download | ports-1780f894bd82243f6fe8b0795364f952ae10b9c1.tar.gz ports-1780f894bd82243f6fe8b0795364f952ae10b9c1.zip |
devel/electron18: 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/
Requested by: mikael (via email)
Diffstat (limited to 'devel/electron18/files/patch-chrome_browser_download_download__prefs.h')
-rw-r--r-- | devel/electron18/files/patch-chrome_browser_download_download__prefs.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron18/files/patch-chrome_browser_download_download__prefs.h b/devel/electron18/files/patch-chrome_browser_download_download__prefs.h new file mode 100644 index 000000000000..28e55ebf696f --- /dev/null +++ b/devel/electron18/files/patch-chrome_browser_download_download__prefs.h @@ -0,0 +1,20 @@ +--- chrome/browser/download/download_prefs.h.orig 2022-05-19 05:17:36 UTC ++++ chrome/browser/download/download_prefs.h +@@ -122,7 +122,7 @@ class DownloadPrefs { + void DisableAutoOpenByUserBasedOnExtension(const base::FilePath& file_name); + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_MAC) ++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + // Store the user preference to disk. If |should_open| is true, also disable + // the built-in PDF plugin. If |should_open| is false, enable the PDF plugin. + void SetShouldOpenPdfInSystemReader(bool should_open); +@@ -181,7 +181,7 @@ class DownloadPrefs { + std::unique_ptr<policy::URLBlocklist> auto_open_allowed_by_urls_; + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_MAC) ++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + bool should_open_pdf_in_system_reader_; + #endif + |