A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
ci debug pkg build errors.
towfiqia86cb58f6bc6
diff --git a/scripts/build-executables.js b/scripts/build-executables.jsindex 79b2d62..b0f9aee 100644--- a/scripts/build-executables.js+++ b/scripts/build-executables.js@@ -737,6 +737,21 @@ async function createDistributionPackages() {`${OUTPUT_NAME}-${config.pkgTarget}`);+ // Debug: List contents of pkg-builds to help diagnose naming issues+ if (platform === Object.keys(targets)[0]) {+ try {+ const buildFiles = await readdir(pkgBuildsDir);+ console.log(` 📂 Contents of ${pkgBuildsDir}:`);+ for (const f of buildFiles) {+ console.log(` - ${f}`);+ }+ } catch (err) {+ console.warn(+ ` ⚠️ Could not list pkg-builds contents: ${err.message}`+ );+ }+ }+// Check for variations if the exact target name doesn't existif (!(await fileExists(executableSource))) {// Try with .exe extension (for Windows targets)