Skip to content

Commit a1bb12d

Browse files
committed
Removed after-build.js debugging logs
1 parent 8c6a49f commit a1bb12d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/after-build.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function processAppImage() {
3737
execSync(`"./${appImageName}" --appimage-extract`, { stdio: 'inherit' });
3838

3939
// List files to debug desktop file location
40-
console.log('Files in squashfs-root:');
40+
// console.log('Files in squashfs-root:');
4141
const listFiles = (dir, prefix = '') => {
4242
try {
4343
const items = fs.readdirSync(dir);
@@ -56,7 +56,7 @@ async function processAppImage() {
5656
console.log(` Error reading ${dir}: ${e.message}`);
5757
}
5858
};
59-
listFiles('./squashfs-root');
59+
// listFiles('./squashfs-root');
6060

6161
// Modify atexit function in AppRun
6262
// console.log('Modifying AppRun script...');
@@ -152,8 +152,8 @@ function modifyAppRunAtexit(appRunPath) {
152152
if (atexitIndex !== -1) {
153153
const start = Math.max(0, atexitIndex - 1);
154154
const end = Math.min(lines.length, atexitIndex + 10);
155-
console.log('Modified atexit function:');
156-
console.log(lines.slice(start, end).join('\n'));
155+
// console.log('Modified atexit function:');
156+
// console.log(lines.slice(start, end).join('\n'));
157157
}
158158
}
159159

0 commit comments

Comments
 (0)