[UNTESTED] fix linux apps/prefix sync
This commit is contained in:
parent
be47433c32
commit
4680d7f014
6 changed files with 24 additions and 25 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue