Compare commits

...

6 Commits
v2.0.0 ... main

Author SHA1 Message Date
a01dbb892e docs: README aktualisiert — FFmpeg-Quelle + .mhu/.mdd + Changelog
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 13:05:15 +02:00
86eb0648c9 feat: FFmpeg-Download von gyan.dev auf Gitea umgezogen (schneller)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 12:56:37 +02:00
9339bda3e2 feat: .mhu + .mdd Data-Files vom jeweiligen App-Release auf Desktop laden
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 11:23:26 +02:00
71e4ec005e feat: Desktop-Ordner umbenennen — Downloader Fertig/Unfertig + Entpackt
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 18:10:14 +01:00
82c6c2dce9 fix: JD backup import crash when running as EXE
$MyInvocation.MyCommand.Path is NULL in ps2exe compiled scripts,
causing Split-Path/Join-Path/Test-Path to throw errors.
Now checks for NULL before using the path and falls through
to Gitea download.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 10:41:31 +01:00
2b4fab9e46 chore: remove old exe, new VServerSetup.exe in v2.0.0 release
Built with ps2exe from current VServerSetup.ps1.
Old VServerSetup-online-console.exe removed from repo.
New exe available as release download.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 10:22:24 +01:00
4 changed files with 70 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
# Build artifacts # Build artifacts
*.exe *.exe
!VServerSetup-online-console.exe

View File

@ -9,7 +9,7 @@ Alle Downloads kommen von der eigenen Gitea-Instanz (git.24-music.de) oder offiz
| # | Programm | Quelle | | # | Programm | Quelle |
|---|----------|--------| |---|----------|--------|
| 1 | Python 3.12.4 | python.org | | 1 | Python 3.12.4 | python.org |
| 2 | FFmpeg (+ PATH) | gyan.dev | | 2 | FFmpeg (+ PATH) | Gitea: ffmpeg |
| 3 | WinRAR | win-rar.com | | 3 | WinRAR | win-rar.com |
| 4 | G-Earth | Gitea: G-Earth | | 4 | G-Earth | Gitea: G-Earth |
| 5 | VLC Media Player | ftp.fau.de | | 5 | VLC Media Player | ftp.fau.de |
@ -20,11 +20,11 @@ Alle Downloads kommen von der eigenen Gitea-Instanz (git.24-music.de) oder offiz
| 10 | Google Chrome | Google | | 10 | Google Chrome | Google |
| 11 | Habbo Launcher | Gitea: Habbo-Launcher | | 11 | Habbo Launcher | Gitea: Habbo-Launcher |
| 12 | JDownloader 2 + Backup | Gitea: JDownloader-Setup | | 12 | JDownloader 2 + Backup | Gitea: JDownloader-Setup |
| 13 | Desktop-Ordner (Fertig/Unfertig) + File-Uploader | Gitea: File-Uploader | | 13 | Desktop-Ordner (Downloader Fertig/Downloader Unfertig/Entpackt) + File-Uploader | Gitea: File-Uploader |
| 14 | Scripte (Rename MKV AVI etc.) | Gitea: xabbo-scripts | | 14 | Scripte (Rename MKV AVI etc.) | Gitea: xabbo-scripts |
| 15 | Twitch VOD Manager | Gitea: Twitch-VOD-Manager | | 15 | Twitch VOD Manager | Gitea: Twitch-VOD-Manager |
| 16 | Multi-Hoster-Upload | Gitea: Multi-Hoster-Upload | | 16 | Multi-Hoster-Upload + `.mhu` Data-File auf Desktop | Gitea: Multi-Hoster-Upload |
| 17 | Real-Debrid-Downloader | Gitea: real-debrid-downloader | | 17 | Real-Debrid-Downloader + `.mdd` Data-File auf Desktop | Gitea: real-debrid-downloader |
## Windows-Einstellungen ## Windows-Einstellungen
@ -47,9 +47,10 @@ Alle eigenen Tools werden ueber die Gitea API (latest Release) geladen:
| [File-Uploader](https://git.24-music.de/Administrator/File-Uploader) | File-Uploader fuer Desktop | | [File-Uploader](https://git.24-music.de/Administrator/File-Uploader) | File-Uploader fuer Desktop |
| [xabbo-scripts](https://git.24-music.de/Administrator/xabbo-scripts) | Xabbo Scripte | | [xabbo-scripts](https://git.24-music.de/Administrator/xabbo-scripts) | Xabbo Scripte |
| [dotnet-runtimes](https://git.24-music.de/Administrator/dotnet-runtimes) | .NET 6.0 + 8.0 Desktop Runtime | | [dotnet-runtimes](https://git.24-music.de/Administrator/dotnet-runtimes) | .NET 6.0 + 8.0 Desktop Runtime |
| [ffmpeg](https://git.24-music.de/Administrator/ffmpeg) | FFmpeg Essentials Build (Mirror von gyan.dev) |
| [Twitch-VOD-Manager](https://git.24-music.de/Administrator/Twitch-VOD-Manager) | Twitch VOD Manager | | [Twitch-VOD-Manager](https://git.24-music.de/Administrator/Twitch-VOD-Manager) | Twitch VOD Manager |
| [Multi-Hoster-Upload](https://git.24-music.de/Administrator/Multi-Hoster-Upload) | Multi-Hoster Upload Tool | | [Multi-Hoster-Upload](https://git.24-music.de/Administrator/Multi-Hoster-Upload) | Multi-Hoster Upload Tool + `.mhu` Data-File |
| [real-debrid-downloader](https://git.24-music.de/Administrator/real-debrid-downloader) | Real-Debrid Downloader | | [real-debrid-downloader](https://git.24-music.de/Administrator/real-debrid-downloader) | Real-Debrid Downloader + `.mdd` Data-File |
## Benutzung ## Benutzung
@ -63,3 +64,33 @@ Alle eigenen Tools werden ueber die Gitea API (latest Release) geladen:
- `VServerSetup.ps1` - Hauptscript (Quellcode) - `VServerSetup.ps1` - Hauptscript (Quellcode)
- `jdownloader-backup.zip` - JDownloader 2 Konfiguration/Accounts (auch auf Gitea) - `jdownloader-backup.zip` - JDownloader 2 Konfiguration/Accounts (auch auf Gitea)
## Changelog
### v2.3.0
- FFmpeg-Download von gyan.dev auf Gitea umgezogen (gyan.dev war arsch langsam)
- Neues Repo `Administrator/ffmpeg` als Mirror
- Bei Updates: einfach neues Release mit .zip-Asset im ffmpeg-Repo hochladen
### v2.2.0
- `Multi-Hoster-Upload.mhu` wird vom Multi-Hoster-Upload Release geladen und auf Desktop gepackt
- `Multi-Debrid-Downloader.mdd` wird vom real-debrid-downloader Release geladen und auf Desktop gepackt
- Neuer Helper `Copy-Gitea-DataFile-To-Desktop`
- Skip-Logik wenn Data-File schon auf Desktop liegt
### v2.1.0
- Desktop-Ordner umbenannt: "Fertig" → "Downloader Fertig", "Unfertig" → "Downloader Unfertig"
- Neuer Ordner "Entpackt"
- JD Backup Import Crash beim Ausfuehren als EXE behoben
### v2.0.0
- Komplette Migration auf Gitea (keine streamerware.de Abhaengigkeit mehr)
- Neue Tools: Multi-Hoster-Upload, Real-Debrid-Downloader, Twitch VOD Manager (Gitea)
- Neue Repos: Habbo-Launcher, File-Uploader, JDownloader-Setup, dotnet-runtimes
- JDownloader blockiert das Setup nicht mehr (Polling statt -Wait)
- TLS 1.2 erzwungen
- JD-Backup Import zuverlaessig (Marker-Datei)
- Explorer-Neustart nach Windows-Einstellungen
- Windows Update dauerhaft deaktiviert
- Energiesparplan auf Hoechstleistung
- Helper-Funktionen (Get-Gitea-Latest-Asset, Unrar-File, Install-Gitea-App)

Binary file not shown.

View File

@ -56,6 +56,27 @@ function Get-Gitea-Latest-Asset {
return $asset return $asset
} }
function Copy-Gitea-DataFile-To-Desktop {
param($Repo, $Filter)
try {
$asset = Get-Gitea-Latest-Asset -Repo $Repo -Filter $Filter
if (-not $asset) {
Write-Host " WARNUNG: Kein Asset '$Filter' im Release gefunden" -ForegroundColor Yellow
return
}
$destPath = Join-Path $desktopPath $asset.name
if (Test-Path $destPath) {
Write-Host " $($asset.name) bereits vorhanden - ueberspringe." -ForegroundColor Gray
return
}
if (Download-File -Url $asset.browser_download_url -Output $destPath) {
Write-Host " $($asset.name) auf Desktop!" -ForegroundColor Green
}
} catch {
Write-Host " FEHLER beim Laden der Data-Datei: $_" -ForegroundColor Red
}
}
function Install-Gitea-App { function Install-Gitea-App {
param($Name, $Repo, $StepNum, $DetectPaths, $ProcessName) param($Name, $Repo, $StepNum, $DetectPaths, $ProcessName)
Write-Host "" Write-Host ""
@ -112,9 +133,9 @@ Write-Host "[2/$totalSteps] FFmpeg..." -ForegroundColor Yellow
if (Test-Path "C:\ffmpeg\bin\ffmpeg.exe") { if (Test-Path "C:\ffmpeg\bin\ffmpeg.exe") {
Write-Host " Bereits installiert - ueberspringe." -ForegroundColor Gray Write-Host " Bereits installiert - ueberspringe." -ForegroundColor Gray
} else { } else {
$ffmpegUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"
$ffmpegZip = "$tempDir\ffmpeg.zip" $ffmpegZip = "$tempDir\ffmpeg.zip"
if (Download-File -Url $ffmpegUrl -Output $ffmpegZip) { $ffmpegAsset = Get-Gitea-Latest-Asset -Repo "ffmpeg" -Filter "*.zip"
if ($ffmpegAsset -and (Download-File -Url $ffmpegAsset.browser_download_url -Output $ffmpegZip)) {
Write-Host " Entpacke FFmpeg nach C:\ffmpeg..." -ForegroundColor Gray Write-Host " Entpacke FFmpeg nach C:\ffmpeg..." -ForegroundColor Gray
if (Test-Path "C:\ffmpeg") { Remove-Item -Path "C:\ffmpeg" -Recurse -Force } if (Test-Path "C:\ffmpeg") { Remove-Item -Path "C:\ffmpeg" -Recurse -Force }
Expand-Archive -Path $ffmpegZip -DestinationPath $tempDir -Force Expand-Archive -Path $ffmpegZip -DestinationPath $tempDir -Force
@ -358,9 +379,13 @@ if ($jdPath) {
Write-Host " Importiere JD2-Backup..." -ForegroundColor Cyan Write-Host " Importiere JD2-Backup..." -ForegroundColor Cyan
Write-Host " Ziel: $jdPath" -ForegroundColor Gray Write-Host " Ziel: $jdPath" -ForegroundColor Gray
# Backup zuerst lokal suchen, dann von Gitea laden # Backup zuerst lokal suchen, dann von Gitea laden
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path $backupZip = $null
$backupZip = Join-Path $scriptDir "jdownloader-backup.zip" $scriptPath = $MyInvocation.MyCommand.Path
if (-not (Test-Path $backupZip)) { if ($scriptPath) {
$localZip = Join-Path (Split-Path -Parent $scriptPath) "jdownloader-backup.zip"
if (Test-Path $localZip) { $backupZip = $localZip }
}
if (-not $backupZip) {
Write-Host " Lade Backup von Gitea..." -ForegroundColor Gray Write-Host " Lade Backup von Gitea..." -ForegroundColor Gray
$backupZip = "$tempDir\jdownloader-backup.zip" $backupZip = "$tempDir\jdownloader-backup.zip"
try { try {
@ -390,7 +415,7 @@ if ($jdPath) {
Write-Host "" Write-Host ""
Write-Host "[13/$totalSteps] Desktop Ordner..." -ForegroundColor Yellow Write-Host "[13/$totalSteps] Desktop Ordner..." -ForegroundColor Yellow
foreach ($folder in @("Fertig", "Unfertig")) { foreach ($folder in @("Downloader Fertig", "Downloader Unfertig", "Entpackt")) {
if (Test-Path "$desktopPath\$folder") { if (Test-Path "$desktopPath\$folder") {
Write-Host " Ordner '$folder' bereits vorhanden." -ForegroundColor Gray Write-Host " Ordner '$folder' bereits vorhanden." -ForegroundColor Gray
} else { } else {
@ -443,12 +468,14 @@ Install-Gitea-App -Name "Multi-Hoster-Upload" -Repo "Multi-Hoster-Upload" `
-StepNum 16 ` -StepNum 16 `
-DetectPaths @("$env:LOCALAPPDATA\Programs\multi-hoster-upload\Multi-Hoster-Upload.exe", "$desktopPath\Multi-Hoster-Upload.lnk") ` -DetectPaths @("$env:LOCALAPPDATA\Programs\multi-hoster-upload\Multi-Hoster-Upload.exe", "$desktopPath\Multi-Hoster-Upload.lnk") `
-ProcessName "Multi-Hoster-Upload" -ProcessName "Multi-Hoster-Upload"
Copy-Gitea-DataFile-To-Desktop -Repo "Multi-Hoster-Upload" -Filter "*.mhu"
# 17. REAL-DEBRID-DOWNLOADER (von Gitea) # 17. REAL-DEBRID-DOWNLOADER (von Gitea)
Install-Gitea-App -Name "Real-Debrid-Downloader" -Repo "real-debrid-downloader" ` Install-Gitea-App -Name "Real-Debrid-Downloader" -Repo "real-debrid-downloader" `
-StepNum 17 ` -StepNum 17 `
-DetectPaths @("$env:LOCALAPPDATA\Programs\real-debrid-downloader\Real-Debrid-Downloader.exe", "$desktopPath\Real-Debrid-Downloader.lnk") ` -DetectPaths @("$env:LOCALAPPDATA\Programs\real-debrid-downloader\Real-Debrid-Downloader.exe", "$desktopPath\Real-Debrid-Downloader.lnk") `
-ProcessName "Real-Debrid-Downloader" -ProcessName "Real-Debrid-Downloader"
Copy-Gitea-DataFile-To-Desktop -Repo "real-debrid-downloader" -Filter "*.mdd"
# 18. WINDOWS EINSTELLUNGEN # 18. WINDOWS EINSTELLUNGEN
Write-Host "" Write-Host ""