[EXPERIMENTAL] linux apps support

This commit is contained in:
olcxja 2026-10-06 20:54:16 +02:00
commit e7636afe3d
20 changed files with 1377 additions and 101 deletions

View file

@ -6,6 +6,7 @@
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
@ -38,6 +39,8 @@ 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)