mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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/
38 lines
1.6 KiB
C++
38 lines
1.6 KiB
C++
--- remoting/host/host_main.cc.orig 2024-08-14 20:55:09 UTC
|
|
+++ remoting/host/host_main.cc
|
|
@@ -50,7 +50,7 @@ int UrlForwarderConfiguratorMain();
|
|
int RdpDesktopSessionMain();
|
|
int UrlForwarderConfiguratorMain();
|
|
#endif // BUILDFLAG(IS_WIN)
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
int XSessionChooserMain();
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
|
|
@@ -63,7 +63,7 @@ const char kUsageMessage[] =
|
|
"\n"
|
|
"Options:\n"
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
" --audio-pipe-name=<pipe> - Sets the pipe name to capture audio on "
|
|
"Linux.\n"
|
|
#endif // BUILDFLAG(IS_LINUX)
|
|
@@ -156,7 +156,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
|
|
} else if (process_type == kProcessTypeUrlForwarderConfigurator) {
|
|
main_routine = &UrlForwarderConfiguratorMain;
|
|
#endif // BUILDFLAG(IS_WIN)
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
} else if (process_type == kProcessTypeXSessionChooser) {
|
|
main_routine = &XSessionChooserMain;
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
@@ -222,7 +222,7 @@ int HostMain(int argc, char** argv) {
|
|
// be initialized first, so that the preference for crash-reporting can be
|
|
// looked up in the config file.
|
|
if (IsUsageStatsAllowed()) {
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
InitializeCrashReporting();
|
|
#elif BUILDFLAG(IS_WIN)
|
|
// TODO: joedow - Enable crash reporting for the RDP process.
|