2025-09-12 05:02:21 +00:00
|
|
|
Do not build single-executable builder, it is useless on distro electron and fails to compile
|
|
|
|
|
|
2025-10-16 22:00:55 +02:00
|
|
|
--- src/third_party/electron_node/src/node_sea.cc.orig 2025-10-15 11:27:25.079700709 +0200
|
|
|
|
|
+++ src/third_party/electron_node/src/node_sea.cc 2025-10-15 12:04:33.977861545 +0200
|
|
|
|
|
@@ -384,6 +384,7 @@ struct SeaConfig {
|
|
|
|
|
std::vector<std::string> exec_argv;
|
2025-09-12 05:02:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
|
std::optional<SeaConfig> ParseSingleExecutableConfig(
|
|
|
|
|
const std::string& config_path) {
|
|
|
|
|
std::string config;
|
2025-10-16 22:00:55 +02:00
|
|
|
@@ -571,6 +572,7 @@ std::optional<SeaConfig> ParseSingleExec
|
2025-09-12 05:02:21 +00:00
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
ExitCode GenerateSnapshotForSEA(const SeaConfig& config,
|
|
|
|
|
const std::vector<std::string>& args,
|
2025-10-16 22:00:55 +02:00
|
|
|
@@ -772,6 +774,7 @@ ExitCode GenerateSingleExecutableBlob(
|
2025-09-12 05:02:21 +00:00
|
|
|
|
|
|
|
|
} // anonymous namespace
|
|
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
|
ExitCode BuildSingleExecutableBlob(const std::string& config_path,
|
|
|
|
|
const std::vector<std::string>& args,
|
|
|
|
|
const std::vector<std::string>& exec_args) {
|
2025-10-16 22:00:55 +02:00
|
|
|
@@ -785,6 +788,7 @@ ExitCode BuildSingleExecutableBlob(const
|
2025-09-12 05:02:21 +00:00
|
|
|
|
|
|
|
|
return ExitCode::kGenericUserError;
|
|
|
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
|
|
void GetAsset(const FunctionCallbackInfo<Value>& args) {
|
|
|
|
|
CHECK_EQ(args.Length(), 1);
|
|
|
|
|
--- src/third_party/electron_node/unofficial.gni.orig 2025-09-10 22:31:58.561822889 +0200
|
|
|
|
|
+++ src/third_party/electron_node/unofficial.gni 2025-09-11 12:03:47.577452435 +0200
|
|
|
|
|
@@ -48,6 +48,7 @@ template("node_gn_build") {
|
|
|
|
|
if (v8_enable_i18n_support) {
|
|
|
|
|
defines += [ "NODE_HAVE_I18N_SUPPORT=1" ]
|
|
|
|
|
}
|
|
|
|
|
+ defines += ["DISABLE_SINGLE_EXECUTABLE_APPLICATION=1"]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config("node_external_config") {
|