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 af20828..f09ba66 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/98.0.4758.109: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 34573c4..91adb8f 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 61659d2..6331a67 100644
  20. --- a/resources/linux/rpm/code.spec.template
  21. +++ b/resources/linux/rpm/code.spec.template
  22. @@ -78 +78,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