Dateien nach "/" hochladen

This commit is contained in:
2025-05-17 08:24:37 +00:00
parent f53d178c35
commit 7141888c93
2 changed files with 151 additions and 0 deletions

21
start.bat Normal file
View File

@@ -0,0 +1,21 @@
@echo off
setlocal
set "flag=%APPDATA%\KinoNacht\firstRun.flag"
:: Prüfen ob Flag-Datei existiert
if not exist "%flag%" (
powershell -WindowStyle Hidden -Command "Add-Type -AssemblyFramework;[System.Windows.MessageBox]::Show('Lege alle Filme in den Ordner Desktop\\Filme und klicke OK, um das Script zu starten.','KinoNacht Umbenenner','OK','Information')"
:: Flag-Datei anlegen
mkdir "%APPDATA%\KinoNacht" 2>nul
echo done > "%flag%"
)
set "tempJS=%TEMP%\renameFilme_temp.js"
set "url=https://git.viper.ipv64.net/M_Viper/renameFilme/raw/commit/876d90a6c1fd46a0e9cf9ad256dc839abfcbd4e0/renameFilme.js"
powershell -Command "Invoke-WebRequest -Uri '%url%' -OutFile '%tempJS%'"
start "" /b node "%tempJS%"
exit