mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-12 16:03:26 +03:00
37 lines
2.0 KiB
Diff
37 lines
2.0 KiB
Diff
|
diff --git a/build/linux/rpm/dependencies-generator.js b/build/linux/rpm/dependencies-generator.js
|
||
|
index 1d91eb8..ed6b775 100644
|
||
|
--- a/build/linux/rpm/dependencies-generator.js
|
||
|
+++ b/build/linux/rpm/dependencies-generator.js
|
||
|
@@ -16,7 +16,7 @@ const dep_lists_1 = require("./dep-lists");
|
||
|
// If true, we fail the build if there are new dependencies found during that task.
|
||
|
// The reference dependencies, which one has to update when the new dependencies
|
||
|
// are valid, are in dep-lists.ts
|
||
|
-const FAIL_BUILD_FOR_NEW_DEPENDENCIES = true;
|
||
|
+const FAIL_BUILD_FOR_NEW_DEPENDENCIES = false;
|
||
|
function getDependencies(buildDir, applicationName, arch) {
|
||
|
// Get the files for which we want to find dependencies.
|
||
|
const nativeModulesPath = path.join(buildDir, 'resources', 'app', 'node_modules.asar.unpacked');
|
||
|
diff --git a/build/linux/rpm/dependencies-generator.ts b/build/linux/rpm/dependencies-generator.ts
|
||
|
index 95953ec..f5ffc2e 100644
|
||
|
--- a/build/linux/rpm/dependencies-generator.ts
|
||
|
+++ b/build/linux/rpm/dependencies-generator.ts
|
||
|
@@ -18,7 +18,7 @@ import { ArchString } from './types';
|
||
|
// If true, we fail the build if there are new dependencies found during that task.
|
||
|
// The reference dependencies, which one has to update when the new dependencies
|
||
|
// are valid, are in dep-lists.ts
|
||
|
-const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = true;
|
||
|
+const FAIL_BUILD_FOR_NEW_DEPENDENCIES: boolean = false;
|
||
|
|
||
|
export function getDependencies(buildDir: string, applicationName: string, arch: ArchString): string[] {
|
||
|
// Get the files for which we want to find dependencies.
|
||
|
diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template
|
||
|
index 5b7eadb..87c914d 100644
|
||
|
--- a/resources/linux/rpm/code.spec.template
|
||
|
+++ b/resources/linux/rpm/code.spec.template
|
||
|
@@ -74,3 +74,5 @@ update-mime-database /usr/share/mime &> /dev/null || :
|
||
|
/usr/share/pixmaps/@@ICON@@.png
|
||
|
/usr/share/bash-completion/completions/@@NAME@@
|
||
|
/usr/share/zsh/site-functions/_@@NAME@@
|
||
|
+
|
||
|
+%config(noreplace) /usr/share/@@NAME@@/resources/app/product.json
|