Add configure script
This commit is contained in:
parent
ae6b7b3a24
commit
88c5e9af48
3 changed files with 37 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
import { create } from 'youtube-dl-exec';
|
||||
import { YTDLP_PATH } from '$env/static/private';
|
||||
import { env } from '$env/dynamic/private';
|
||||
import { spawn } from 'node:child_process';
|
||||
const YTDLP_PATH: string = env.YTDLP_PATH as string
|
||||
|
||||
export const ytdl = create(YTDLP_PATH);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue