Merge pull request #47722 from nextcloud/backport/47721/stable28

This commit is contained in:
John Molakvoæ 2024-09-04 09:16:54 +02:00 committed by GitHub
commit ffed734524
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

4
dist/core-common.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -9,7 +9,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin')
const modules = require('./webpack.modules.js')
const { readFileSync } = require('fs')
const appVersion = readFileSync('./version.php').toString().match(/OC_VersionString[^']+'([^']+)/)?.[1] ?? 'unknown'
const appVersion = readFileSync('./version.php').toString().match(/OC_Version.+\[([0-9]{2})/)?.[1] ?? 'unknown'
const formatOutputFromModules = (modules) => {
// merge all configs into one object, and use AppID to generate the fileNames