#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
fix(core): reinstall frontend dependencies when iconify package is missing (#5432)
Ludydb049a346750
diff --git a/app/core/build.gradle b/app/core/build.gradleindex 61c7b563c7..e61ef41b1b 100644--- a/app/core/build.gradle+++ b/app/core/build.gradle@@ -208,6 +208,14 @@ tasks.register('npmInstall', Exec) {println "node_modules not found, will install..."return true}++ // if required devDependency is missing, reinstall+ def iconifyPkg = new File(frontendDir, 'node_modules/@iconify-json/material-symbols/package.json')+ if (!iconifyPkg.exists()) {+ println "@iconify-json/material-symbols missing, will reinstall..."+ return true+ }+def packageJson = new File(frontendDir, 'package.json')def packageLock = new File(frontendDir, 'package-lock.json')def isOutdated = nodeModules.lastModified() < packageJson.lastModified() ||