[AGS] Fix Bluetooth crashes

This commit is contained in:
2025-04-26 09:38:15 +02:00
parent 33fcdd72f7
commit e19a1179d5
9 changed files with 54 additions and 35 deletions

View File

@@ -10,7 +10,6 @@ const { treeWalker } = require('./util');
// TODO: Split up configs and buildables
// TODO: Make user choose if to use borders or not (otherwise border colour = background colour)
// Prompt user to select a wallpaper (if no path is passed as argument)
const wallpapers = treeWalker( path.join( os.homedir(), '/NextCloud/Wallpapers' ), '*' );
// const wallpapers = fs.readdirSync( path.join( os.homedir(), '/NextCloud/Wallpapers' ) );
@@ -57,4 +56,6 @@ inquirer.default.prompt( [
chooseTheme
] ).then( answers => {
render( answers.wallpaper, answers.lockpaper, answers.theme );
} ).catch( () => {
process.exit( 1 );
} );