mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-12 06:27:12 +03:00
Start of 5.X work
This commit is contained in:
@@ -4,6 +4,11 @@ const { execSync } = require('child_process');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const glob = require('glob');
|
||||
function ensureOutputDirectory(directory) {
|
||||
if (!fs.existsSync(directory)) {
|
||||
fs.mkdirSync(directory, { recursive: true });
|
||||
}
|
||||
}
|
||||
|
||||
function clearOutputDirectory(directory:string) {
|
||||
if (fs.existsSync(directory)) {
|
||||
|
||||
Reference in New Issue
Block a user