start.pyw hinzugefügt als Workaround und .gitignore gefixt

This commit is contained in:
Adam Skotarczak 2025-04-21 23:34:45 +02:00
parent 896beeb217
commit f7fc11d01c
5 changed files with 27 additions and 12 deletions

21
.gitignore vendored
View File

@ -1,9 +1,10 @@
# Build- und Cache-Ordner ignorieren # Build- und Cache-Ordner ignorieren
.app/__pycache__/ app/__pycache__/
.app/upload/ app/upload/
.app/logs/ app/upload/*
.app/build/ app/logs/
.app/dist/ app/build/
app/dist/
releases/ releases/
# PyInstaller & kompiliertes Python # PyInstaller & kompiliertes Python
@ -14,13 +15,13 @@ releases/
*.pyd *.pyd
# Virtuelle Umgebung ignorieren (falls vorhanden) # Virtuelle Umgebung ignorieren (falls vorhanden)
.app/.venv/ app/.venv/
.app/.env/ app/.env/
.app/.idea/ app/.idea/
.app/.vscode/ app/.vscode/
# Zertifikate und sensible Dateien # Zertifikate und sensible Dateien
.app/*.pem app/*.pem
*.crt *.crt
*.key *.key

View File

@ -2,6 +2,9 @@
## pyUpload (TKInter-Version 1.0) ## pyUpload (TKInter-Version 1.0)
- 2025-04-21 - 2025-04-21
- Geändert - Geändert
@ -17,6 +20,7 @@
- Erweiterung der `README.md` um Speicherort der Uploads und Projektstruktur - Erweiterung der `README.md` um Speicherort der Uploads und Projektstruktur
- Hinweis auf Projektstatus und neue Version unter <https://github.com/realAscot/pyUpload2> - Hinweis auf Projektstatus und neue Version unter <https://github.com/realAscot/pyUpload2>
- Neue LICENSE-Datei (proprietär, nicht zur Weitergabe) - 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 - Fixes
- PowerShell-Inkompatibilitäten mit `set /p` entfernt - PowerShell-Inkompatibilitäten mit `set /p` entfernt

View File

@ -53,6 +53,13 @@ Sie ist vollständig lokal lauffähig ganz ohne Installation von externen To
cmd /c start.cmd 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: ### 🐧 Für Linux / macOS:
1. Stelle sicher, dass Python 3.8+ installiert ist: 1. Stelle sicher, dass Python 3.8+ installiert ist:

View File

@ -1 +1 @@
1.0.0 1.0.1

3
start.pyw Normal file
View File

@ -0,0 +1,3 @@
import subprocess, os
os.chdir(os.path.dirname(__file__))
subprocess.run(["python", "app/main.py"])