fix-build-linux.patch 1.4 KB

123456789101112131415161718192021222324252627
  1. diff --git a/build/linux/dependencies-generator.js b/build/linux/dependencies-generator.js
  2. index 0ea6699..c4524de 100644
  3. --- a/build/linux/dependencies-generator.js
  4. +++ b/build/linux/dependencies-generator.js
  5. @@ -22,3 +22,3 @@ const types_2 = require("./rpm/types");
  6. // are valid, are in dep-lists.ts
  7. -const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true;
  8. +const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false;
  9. // Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/108.0.5359.215:chrome/installer/linux/BUILD.gn;l=64-80
  10. diff --git a/build/linux/dependencies-generator.ts b/build/linux/dependencies-generator.ts
  11. index c0d8112..3bb0366 100644
  12. --- a/build/linux/dependencies-generator.ts
  13. +++ b/build/linux/dependencies-generator.ts
  14. @@ -23,3 +23,3 @@ import { isRpmArchString, RpmArchString } from './rpm/types';
  15. // are valid, are in dep-lists.ts
  16. -const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = true;
  17. +const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = false;
  18. diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template
  19. index 06b8549..a7e3dfb 100644
  20. --- a/resources/linux/rpm/code.spec.template
  21. +++ b/resources/linux/rpm/code.spec.template
  22. @@ -81 +81,3 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
  23. %{_datadir}/zsh/site-functions/_%{name}
  24. +
  25. +%config(noreplace) /usr/share/%{name}/resources/app/product.json
  26. \ No newline at end of file