[UNTESTED] fix linux apps/prefix sync

This commit is contained in:
olcxja 2026-10-07 14:56:12 +02:00
commit 4680d7f014
6 changed files with 24 additions and 25 deletions

View file

@ -6,7 +6,6 @@
const path = require('path')
const fs = require('fs')
const fsp = fs.promises
const { isLocalOnlyRel } = require('./prefixes')
function createManifestBuilder({ filesPath, filesRoot, hash, mapLimit, concurrency }) {
// Targets inside the launcher data travel relative (the mirrored layout is
@ -39,8 +38,6 @@ function createManifestBuilder({ filesPath, filesRoot, hash, mapLimit, concurren
const leaves = []
for (const entry of entries) {
const relChild = `${dirRel}/${entry.name}`
// native Linux app data never leaves this machine
if (isLocalOnlyRel(relChild)) continue
if (entry.isDirectory()) {
const record = { path: relChild, type: 'dir' }
out.push(record)