diff --git a/.gitignore b/.gitignore index 2ec3dc6..d91306a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ # Build- und Cache-Ordner ignorieren -.app/__pycache__/ -.app/upload/ -.app/logs/ -.app/build/ -.app/dist/ +app/__pycache__/ +app/upload/ +app/upload/* +app/logs/ +app/build/ +app/dist/ releases/ # PyInstaller & kompiliertes Python @@ -14,13 +15,13 @@ releases/ *.pyd # Virtuelle Umgebung ignorieren (falls vorhanden) -.app/.venv/ -.app/.env/ -.app/.idea/ -.app/.vscode/ +app/.venv/ +app/.env/ +app/.idea/ +app/.vscode/ # Zertifikate und sensible Dateien -.app/*.pem +app/*.pem *.crt *.key diff --git a/CHANGELOG.md b/CHANGELOG.md index ffef1c6..080e8f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## pyUpload (TKInter-Version 1.0) + + + - 2025-04-21 - Geändert @@ -17,6 +20,7 @@ - Erweiterung der `README.md` um Speicherort der Uploads und Projektstruktur - Hinweis auf Projektstatus und neue Version unter - Neue LICENSE-Datei (proprietär, nicht zur Weitergabe) + - start.py hinzugefügt wenn auf manchen Systemen die Ausführung von .cmd und .bat gesperrt sind. - Fixes - PowerShell-Inkompatibilitäten mit `set /p` entfernt diff --git a/README.md b/README.md index 749e8c3..bd1aea8 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,19 @@ Sie ist vollständig lokal lauffähig – ganz ohne Installation von externen To start.cmd ``` - Alternativ in PowerShell: + Alternativ in PowerShell: ```powershell cmd /c start.cmd ``` + ⚠️ **Alternative 2 falls die Ausführung per Doppelklick auf .bat oder .cmd gesperrt ist:** + + > Doppelklick auf -> `start.pyw` + + Es ist möglich das beim ersten mal gefragt wird womit das Programm gestartet werden soll. + Einfach die Python-Installation suchen und `python.exe` wählen. + ### 🐧 Für Linux / macOS: 1. Stelle sicher, dass Python 3.8+ installiert ist: diff --git a/VERSION b/VERSION index afaf360..7f20734 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.0.1 \ No newline at end of file diff --git a/start.pyw b/start.pyw new file mode 100644 index 0000000..7bd9594 --- /dev/null +++ b/start.pyw @@ -0,0 +1,3 @@ +import subprocess, os +os.chdir(os.path.dirname(__file__)) +subprocess.run(["python", "app/main.py"])