bash-script-maker 1.1.0__tar.gz → 1.4.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/MANIFEST.in +4 -0
  2. {bash_script_maker-1.1.0/bash_script_maker.egg-info → bash-script-maker-1.4.5}/PKG-INFO +72 -19
  3. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/README.md +67 -2
  4. bash-script-maker-1.4.5/VERSION +1 -0
  5. bash-script-maker-1.4.5/__version__.py +8 -0
  6. bash-script-maker-1.4.5/assets/bash-script-maker-16.png +0 -0
  7. bash-script-maker-1.4.5/assets/bash-script-maker.svg +96 -0
  8. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash-script-maker.desktop +2 -1
  9. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5/bash_script_maker.egg-info}/PKG-INFO +72 -19
  10. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/SOURCES.txt +13 -1
  11. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/entry_points.txt +3 -0
  12. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/requires.txt +3 -0
  13. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/top_level.txt +3 -0
  14. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.py +5 -0
  15. bash-script-maker-1.4.5/bash_script_maker_flatpak.py +289 -0
  16. bash-script-maker-1.4.5/build_flatpak.sh +169 -0
  17. bash-script-maker-1.4.5/create_release.sh +135 -0
  18. bash-script-maker-1.4.5/dev-requirements.txt +34 -0
  19. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/install.sh +28 -2
  20. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/install_apt.sh +28 -2
  21. bash-script-maker-1.4.5/install_desktop_integration.sh +98 -0
  22. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/install_dnf.sh +28 -2
  23. bash-script-maker-1.4.5/install_flatpak.sh +211 -0
  24. bash-script-maker-1.4.5/locales/de/LC_MESSAGES/base.po +347 -0
  25. bash-script-maker-1.4.5/locales/en/LC_MESSAGES/base.po +344 -0
  26. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/pyproject.toml +25 -13
  27. bash-script-maker-1.4.5/requirements.txt +3 -0
  28. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/setup.py +10 -8
  29. bash-script-maker-1.4.5/setup_flatpak.py +17 -0
  30. bash-script-maker-1.4.5/uninstall.sh +132 -0
  31. bash_script_maker-1.1.0/VERSION +0 -1
  32. bash_script_maker-1.1.0/requirements.txt +0 -24
  33. bash_script_maker-1.1.0/tests/test_basic.py +0 -198
  34. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/LICENSE +0 -0
  35. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/assets.py +0 -0
  36. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/dependency_links.txt +0 -0
  37. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/bash_script_maker.egg-info/not-zip-safe +0 -0
  38. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/beispiel_script.sh +0 -0
  39. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/compile_translations.py +0 -0
  40. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/custom_dialogs.py +0 -0
  41. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/init_github.sh +0 -0
  42. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/localization.py +0 -0
  43. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/mein_script.sh +0 -0
  44. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/packages.txt +0 -0
  45. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/setup.cfg +0 -0
  46. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/start.sh +0 -0
  47. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/syntax_highlighter.py +0 -0
  48. {bash_script_maker-1.1.0 → bash-script-maker-1.4.5}/test_installation.sh +0 -0
@@ -2,10 +2,14 @@ include README.md
2
2
  include LICENSE
3
3
  include VERSION
4
4
  include requirements.txt
5
+ include dev-requirements.txt
5
6
  include packages.txt
6
7
  include *.py
8
+ include __version__.py
7
9
  include *.sh
8
10
  include *.desktop
11
+ recursive-include assets *.svg *.png *.ico
12
+ recursive-include locales *.po *.mo
9
13
  recursive-include docs *.md
10
14
  global-exclude *.pyc
11
15
  global-exclude __pycache__
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: bash-script-maker
3
- Version: 1.1.0
3
+ Version: 1.4.5
4
4
  Summary: Ein GUI-Programm zur Erstellung von Bash-Scripts mit visueller Unterstützung
5
5
  Home-page: https://github.com/securebitsorg/bash-script-maker
6
- Author: Marc
6
+ Author: Marcel Dellmann
7
7
  Author-email: Marcel Dellmann <support@secure-bits.org>
8
8
  Maintainer-email: Marcel Dellmann <support@secure-bits.org>
9
- License-Expression: MIT
9
+ License: MIT
10
10
  Project-URL: Homepage, https://github.com/securebitsorg/bash-script-maker
11
11
  Project-URL: Documentation, https://github.com/securebitsorg/bash-script-maker#readme
12
12
  Project-URL: Repository, https://github.com/securebitsorg/bash-script-maker
@@ -28,20 +28,8 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
28
28
  Classifier: Topic :: Software Development :: Code Generators
29
29
  Requires-Python: >=3.8
30
30
  Description-Content-Type: text/markdown
31
- License-File: LICENSE
32
31
  Provides-Extra: dev
33
- Requires-Dist: pytest>=6.0.0; extra == "dev"
34
- Requires-Dist: pytest-cov>=2.10.0; extra == "dev"
35
- Requires-Dist: flake8>=3.8.0; extra == "dev"
36
- Requires-Dist: black>=21.0.0; extra == "dev"
37
- Requires-Dist: mypy>=0.800; extra == "dev"
38
- Requires-Dist: tox>=3.20.0; extra == "dev"
39
- Requires-Dist: twine>=3.0.0; extra == "dev"
40
- Requires-Dist: build>=0.7.0; extra == "dev"
41
- Dynamic: author
42
- Dynamic: home-page
43
- Dynamic: license-file
44
- Dynamic: requires-python
32
+ License-File: LICENSE
45
33
 
46
34
  # Bash-Script-Maker
47
35
 
@@ -109,7 +97,34 @@ Ein benutzerfreundliches GUI-Programm zur Erstellung von Bash-Scripts mit visuel
109
97
  - Zenity (für Dialog-Funktionen)
110
98
  - Linux-Distribution mit apt, dnf, pacman oder ähnlichem Paketmanager
111
99
 
112
- ### Automatische Installation
100
+ ### Flatpak-Installation (Empfohlen)
101
+
102
+ **Flatpak ist die modernste und sicherste Installationsmethode:**
103
+
104
+ ```bash
105
+ # Flatpak installieren (falls noch nicht vorhanden)
106
+ sudo dnf install flatpak # Fedora/RHEL
107
+ sudo apt install flatpak # Ubuntu/Debian
108
+ sudo pacman -S flatpak # Arch Linux
109
+
110
+ # Flathub-Repository hinzufügen
111
+ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
112
+
113
+ # App installieren (wenn verfügbar)
114
+ flatpak install flathub org.securebits.bashscriptmaker
115
+
116
+ # App starten
117
+ flatpak run org.securebits.bashscriptmaker
118
+ ```
119
+
120
+ **Vorteile von Flatpak:**
121
+ - ✅ Vollständig sandboxed und sicher
122
+ - ✅ Automatische Updates
123
+ - ✅ Keine System-Abhängigkeiten
124
+ - ✅ Funktioniert auf allen Linux-Distributionen
125
+ - ✅ Desktop-Integration inklusive
126
+
127
+ ### Automatische Installation mit Desktop-Integration
113
128
 
114
129
  **Empfohlene Methode (automatische Erkennung):**
115
130
  ```bash
@@ -118,6 +133,8 @@ cd bash-script-maker
118
133
  ./install.sh
119
134
  ```
120
135
 
136
+ Das Script erkennt automatisch Ihren Paketmanager, installiert alle notwendigen Abhängigkeiten und richtet die Desktop-Integration ein.
137
+
121
138
  **Spezifisch für Distributionen:**
122
139
 
123
140
  Für Ubuntu/Debian-basierte Systeme:
@@ -130,6 +147,24 @@ Für Fedora/RHEL/CentOS-basierte Systeme:
130
147
  ./install_dnf.sh
131
148
  ```
132
149
 
150
+ ### Flatpak-Paket selbst erstellen
151
+
152
+ ```bash
153
+ # Flatpak-Paket lokal erstellen
154
+ ./build_flatpak.sh
155
+
156
+ # Erstelltes Paket installieren
157
+ flatpak install build/flatpak/bash-script-maker.flatpak
158
+ ```
159
+
160
+ ### Nur Desktop-Integration installieren
161
+
162
+ Falls Sie die App bereits installiert haben und nur die Desktop-Integration hinzufügen möchten:
163
+
164
+ ```bash
165
+ ./install_desktop_integration.sh
166
+ ```
167
+
133
168
  ### Manuelle Installation
134
169
 
135
170
  Wenn die automatischen Scripts nicht funktionieren, installieren Sie die Pakete manuell:
@@ -185,10 +220,28 @@ Alle Scripts sind ausführbar und können direkt aufgerufen werden.
185
220
  ## Verwendung
186
221
 
187
222
  ### Programm starten
223
+
224
+ **Über das Anwendungsmenü:**
225
+ Nach der Installation finden Sie "Bash-Script-Maker" im Anwendungsmenü Ihrer Desktop-Umgebung.
226
+
227
+ **Über das Terminal:**
188
228
  ```bash
189
- python bash_script_maker.py
229
+ bash-script-maker
190
230
  ```
191
231
 
232
+ **Direkt aus dem Quellcode:**
233
+ ```bash
234
+ python3 bash_script_maker.py
235
+ ```
236
+
237
+ ### Desktop-Integration
238
+
239
+ Die App wird automatisch mit einem benutzerdefinierten Icon und Desktop-Integration installiert:
240
+ - **Icon**: Ein modernes SVG-Icon mit Terminal-Design
241
+ - **Desktop-Datei**: Vollständige Integration in das Anwendungsmenü
242
+ - **Kategorien**: Development und Utility
243
+ - **Unterstützte Distributionen**: Alle Linux-Distributionen mit Desktop-Umgebung
244
+
192
245
  ### Script erstellen
193
246
  1. Wählen Sie die gewünschten Befehlsbausteine aus der linken Palette
194
247
  2. Klicken Sie auf einen Baustein, um ihn in den Editor einzufügen
@@ -64,7 +64,34 @@ Ein benutzerfreundliches GUI-Programm zur Erstellung von Bash-Scripts mit visuel
64
64
  - Zenity (für Dialog-Funktionen)
65
65
  - Linux-Distribution mit apt, dnf, pacman oder ähnlichem Paketmanager
66
66
 
67
- ### Automatische Installation
67
+ ### Flatpak-Installation (Empfohlen)
68
+
69
+ **Flatpak ist die modernste und sicherste Installationsmethode:**
70
+
71
+ ```bash
72
+ # Flatpak installieren (falls noch nicht vorhanden)
73
+ sudo dnf install flatpak # Fedora/RHEL
74
+ sudo apt install flatpak # Ubuntu/Debian
75
+ sudo pacman -S flatpak # Arch Linux
76
+
77
+ # Flathub-Repository hinzufügen
78
+ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
79
+
80
+ # App installieren (wenn verfügbar)
81
+ flatpak install flathub org.securebits.bashscriptmaker
82
+
83
+ # App starten
84
+ flatpak run org.securebits.bashscriptmaker
85
+ ```
86
+
87
+ **Vorteile von Flatpak:**
88
+ - ✅ Vollständig sandboxed und sicher
89
+ - ✅ Automatische Updates
90
+ - ✅ Keine System-Abhängigkeiten
91
+ - ✅ Funktioniert auf allen Linux-Distributionen
92
+ - ✅ Desktop-Integration inklusive
93
+
94
+ ### Automatische Installation mit Desktop-Integration
68
95
 
69
96
  **Empfohlene Methode (automatische Erkennung):**
70
97
  ```bash
@@ -73,6 +100,8 @@ cd bash-script-maker
73
100
  ./install.sh
74
101
  ```
75
102
 
103
+ Das Script erkennt automatisch Ihren Paketmanager, installiert alle notwendigen Abhängigkeiten und richtet die Desktop-Integration ein.
104
+
76
105
  **Spezifisch für Distributionen:**
77
106
 
78
107
  Für Ubuntu/Debian-basierte Systeme:
@@ -85,6 +114,24 @@ Für Fedora/RHEL/CentOS-basierte Systeme:
85
114
  ./install_dnf.sh
86
115
  ```
87
116
 
117
+ ### Flatpak-Paket selbst erstellen
118
+
119
+ ```bash
120
+ # Flatpak-Paket lokal erstellen
121
+ ./build_flatpak.sh
122
+
123
+ # Erstelltes Paket installieren
124
+ flatpak install build/flatpak/bash-script-maker.flatpak
125
+ ```
126
+
127
+ ### Nur Desktop-Integration installieren
128
+
129
+ Falls Sie die App bereits installiert haben und nur die Desktop-Integration hinzufügen möchten:
130
+
131
+ ```bash
132
+ ./install_desktop_integration.sh
133
+ ```
134
+
88
135
  ### Manuelle Installation
89
136
 
90
137
  Wenn die automatischen Scripts nicht funktionieren, installieren Sie die Pakete manuell:
@@ -140,10 +187,28 @@ Alle Scripts sind ausführbar und können direkt aufgerufen werden.
140
187
  ## Verwendung
141
188
 
142
189
  ### Programm starten
190
+
191
+ **Über das Anwendungsmenü:**
192
+ Nach der Installation finden Sie "Bash-Script-Maker" im Anwendungsmenü Ihrer Desktop-Umgebung.
193
+
194
+ **Über das Terminal:**
195
+ ```bash
196
+ bash-script-maker
197
+ ```
198
+
199
+ **Direkt aus dem Quellcode:**
143
200
  ```bash
144
- python bash_script_maker.py
201
+ python3 bash_script_maker.py
145
202
  ```
146
203
 
204
+ ### Desktop-Integration
205
+
206
+ Die App wird automatisch mit einem benutzerdefinierten Icon und Desktop-Integration installiert:
207
+ - **Icon**: Ein modernes SVG-Icon mit Terminal-Design
208
+ - **Desktop-Datei**: Vollständige Integration in das Anwendungsmenü
209
+ - **Kategorien**: Development und Utility
210
+ - **Unterstützte Distributionen**: Alle Linux-Distributionen mit Desktop-Umgebung
211
+
147
212
  ### Script erstellen
148
213
  1. Wählen Sie die gewünschten Befehlsbausteine aus der linken Palette
149
214
  2. Klicken Sie auf einen Baustein, um ihn in den Editor einzufügen
@@ -0,0 +1 @@
1
+ 1.4.5
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ Version information for Bash-Script-Maker
5
+ """
6
+
7
+ __version__ = "1.4.5"
8
+ __version_info__ = (1, 4, 5)
@@ -0,0 +1,96 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="128" height="128" viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg">
3
+ <defs>
4
+ <!-- Gradient für den Hintergrund -->
5
+ <linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%">
6
+ <stop offset="0%" style="stop-color:#667eea;stop-opacity:1" />
7
+ <stop offset="100%" style="stop-color:#764ba2;stop-opacity:1" />
8
+ </linearGradient>
9
+
10
+ <!-- Gradient für das Terminal-Fenster -->
11
+ <linearGradient id="terminalGradient" x1="0%" y1="0%" x2="100%" y2="100%">
12
+ <stop offset="0%" style="stop-color:#2d3748;stop-opacity:1" />
13
+ <stop offset="100%" style="stop-color:#1a202c;stop-opacity:1" />
14
+ </linearGradient>
15
+
16
+ <!-- Gradient für den Code-Hintergrund -->
17
+ <linearGradient id="codeGradient" x1="0%" y1="0%" x2="100%" y2="100%">
18
+ <stop offset="0%" style="stop-color:#1a202c;stop-opacity:1" />
19
+ <stop offset="100%" style="stop-color:#2d3748;stop-opacity:1" />
20
+ </linearGradient>
21
+
22
+ <!-- Schatten-Filter -->
23
+ <filter id="shadow" x="-50%" y="-50%" width="200%" height="200%">
24
+ <feDropShadow dx="2" dy="4" stdDeviation="4" flood-color="#000000" flood-opacity="0.3"/>
25
+ </filter>
26
+
27
+ <!-- Glow-Effekt -->
28
+ <filter id="glow" x="-50%" y="-50%" width="200%" height="200%">
29
+ <feGaussianBlur stdDeviation="3" result="coloredBlur"/>
30
+ <feMerge>
31
+ <feMergeNode in="coloredBlur"/>
32
+ <feMergeNode in="SourceGraphic"/>
33
+ </feMerge>
34
+ </filter>
35
+ </defs>
36
+
37
+ <!-- Hintergrund mit Gradient -->
38
+ <rect width="128" height="128" rx="24" fill="url(#bgGradient)"/>
39
+
40
+ <!-- Schatten für das Terminal -->
41
+ <rect x="16" y="20" width="96" height="72" rx="12" fill="#000000" opacity="0.2" filter="url(#shadow)"/>
42
+
43
+ <!-- Terminal-Fenster -->
44
+ <rect x="16" y="20" width="96" height="72" rx="12" fill="url(#terminalGradient)" stroke="#4a5568" stroke-width="1"/>
45
+
46
+ <!-- Terminal-Header -->
47
+ <rect x="16" y="20" width="96" height="16" rx="12" fill="#4a5568"/>
48
+ <rect x="16" y="20" width="96" height="8" rx="12" fill="#2d3748"/>
49
+
50
+ <!-- Terminal-Buttons -->
51
+ <circle cx="24" cy="24" r="3" fill="#ff5f56"/>
52
+ <circle cx="32" cy="24" r="3" fill="#ffbd2e"/>
53
+ <circle cx="40" cy="24" r="3" fill="#27ca3f"/>
54
+
55
+ <!-- Terminal-Titel -->
56
+ <text x="64" y="28" text-anchor="middle" font-family="monospace" font-size="8" fill="#a0aec0">bash-script-maker</text>
57
+
58
+ <!-- Code-Hintergrund -->
59
+ <rect x="20" y="40" width="88" height="48" rx="8" fill="url(#codeGradient)"/>
60
+
61
+ <!-- Code-Zeilen mit Syntax-Highlighting -->
62
+ <!-- Shebang -->
63
+ <text x="24" y="52" font-family="monospace" font-size="10" fill="#ff6b6b">#!/bin/bash</text>
64
+
65
+ <!-- Echo-Befehl -->
66
+ <text x="24" y="64" font-family="monospace" font-size="10" fill="#4ecdc4">echo</text>
67
+ <text x="48" y="64" font-family="monospace" font-size="10" fill="#ffe66d">"Hello World"</text>
68
+
69
+ <!-- If-Statement -->
70
+ <text x="24" y="76" font-family="monospace" font-size="10" fill="#a8e6cf">if</text>
71
+ <text x="36" y="76" font-family="monospace" font-size="10" fill="#ffd93d">[</text>
72
+ <text x="44" y="76" font-family="monospace" font-size="10" fill="#ff8a80">$1</text>
73
+ <text x="52" y="76" font-family="monospace" font-size="10" fill="#ffd93d">=</text>
74
+ <text x="60" y="76" font-family="monospace" font-size="10" fill="#ffe66d">"test"</text>
75
+ <text x="88" y="76" font-family="monospace" font-size="10" fill="#ffd93d">]</text>
76
+
77
+ <!-- Then -->
78
+ <text x="24" y="88" font-family="monospace" font-size="10" fill="#a8e6cf">then</text>
79
+
80
+ <!-- Cursor -->
81
+ <rect x="96" y="88" width="2" height="10" fill="#ffffff" opacity="0.8">
82
+ <animate attributeName="opacity" values="0.8;0;0.8" dur="1s" repeatCount="indefinite"/>
83
+ </rect>
84
+
85
+ <!-- Bash-Symbol ($) -->
86
+ <circle cx="64" y="108" r="12" fill="#ffffff" opacity="0.1"/>
87
+ <text x="64" y="114" text-anchor="middle" font-family="monospace" font-size="16" font-weight="bold" fill="#ffffff">$</text>
88
+
89
+ <!-- Dekorative Elemente -->
90
+ <!-- Code-Brackets -->
91
+ <path d="M 20 44 L 16 48 L 20 52" stroke="#4a5568" stroke-width="2" fill="none" opacity="0.5"/>
92
+ <path d="M 108 44 L 112 48 L 108 52" stroke="#4a5568" stroke-width="2" fill="none" opacity="0.5"/>
93
+
94
+ <!-- Glow-Effekt um das Icon -->
95
+ <circle cx="64" cy="64" r="60" fill="none" stroke="url(#bgGradient)" stroke-width="2" opacity="0.3" filter="url(#glow)"/>
96
+ </svg>
@@ -2,8 +2,9 @@
2
2
  Name=Bash-Script-Maker
3
3
  Comment=Ein GUI-Programm zur Erstellung von Bash-Scripts
4
4
  Exec=bash-script-maker
5
- Icon=terminal
5
+ Icon=bash-script-maker
6
6
  Terminal=false
7
7
  Type=Application
8
8
  Categories=Development;Utility;
9
9
  Keywords=bash;script;editor;generator;
10
+ StartupWMClass=bash-script-maker
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: bash-script-maker
3
- Version: 1.1.0
3
+ Version: 1.4.5
4
4
  Summary: Ein GUI-Programm zur Erstellung von Bash-Scripts mit visueller Unterstützung
5
5
  Home-page: https://github.com/securebitsorg/bash-script-maker
6
- Author: Marc
6
+ Author: Marcel Dellmann
7
7
  Author-email: Marcel Dellmann <support@secure-bits.org>
8
8
  Maintainer-email: Marcel Dellmann <support@secure-bits.org>
9
- License-Expression: MIT
9
+ License: MIT
10
10
  Project-URL: Homepage, https://github.com/securebitsorg/bash-script-maker
11
11
  Project-URL: Documentation, https://github.com/securebitsorg/bash-script-maker#readme
12
12
  Project-URL: Repository, https://github.com/securebitsorg/bash-script-maker
@@ -28,20 +28,8 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
28
28
  Classifier: Topic :: Software Development :: Code Generators
29
29
  Requires-Python: >=3.8
30
30
  Description-Content-Type: text/markdown
31
- License-File: LICENSE
32
31
  Provides-Extra: dev
33
- Requires-Dist: pytest>=6.0.0; extra == "dev"
34
- Requires-Dist: pytest-cov>=2.10.0; extra == "dev"
35
- Requires-Dist: flake8>=3.8.0; extra == "dev"
36
- Requires-Dist: black>=21.0.0; extra == "dev"
37
- Requires-Dist: mypy>=0.800; extra == "dev"
38
- Requires-Dist: tox>=3.20.0; extra == "dev"
39
- Requires-Dist: twine>=3.0.0; extra == "dev"
40
- Requires-Dist: build>=0.7.0; extra == "dev"
41
- Dynamic: author
42
- Dynamic: home-page
43
- Dynamic: license-file
44
- Dynamic: requires-python
32
+ License-File: LICENSE
45
33
 
46
34
  # Bash-Script-Maker
47
35
 
@@ -109,7 +97,34 @@ Ein benutzerfreundliches GUI-Programm zur Erstellung von Bash-Scripts mit visuel
109
97
  - Zenity (für Dialog-Funktionen)
110
98
  - Linux-Distribution mit apt, dnf, pacman oder ähnlichem Paketmanager
111
99
 
112
- ### Automatische Installation
100
+ ### Flatpak-Installation (Empfohlen)
101
+
102
+ **Flatpak ist die modernste und sicherste Installationsmethode:**
103
+
104
+ ```bash
105
+ # Flatpak installieren (falls noch nicht vorhanden)
106
+ sudo dnf install flatpak # Fedora/RHEL
107
+ sudo apt install flatpak # Ubuntu/Debian
108
+ sudo pacman -S flatpak # Arch Linux
109
+
110
+ # Flathub-Repository hinzufügen
111
+ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
112
+
113
+ # App installieren (wenn verfügbar)
114
+ flatpak install flathub org.securebits.bashscriptmaker
115
+
116
+ # App starten
117
+ flatpak run org.securebits.bashscriptmaker
118
+ ```
119
+
120
+ **Vorteile von Flatpak:**
121
+ - ✅ Vollständig sandboxed und sicher
122
+ - ✅ Automatische Updates
123
+ - ✅ Keine System-Abhängigkeiten
124
+ - ✅ Funktioniert auf allen Linux-Distributionen
125
+ - ✅ Desktop-Integration inklusive
126
+
127
+ ### Automatische Installation mit Desktop-Integration
113
128
 
114
129
  **Empfohlene Methode (automatische Erkennung):**
115
130
  ```bash
@@ -118,6 +133,8 @@ cd bash-script-maker
118
133
  ./install.sh
119
134
  ```
120
135
 
136
+ Das Script erkennt automatisch Ihren Paketmanager, installiert alle notwendigen Abhängigkeiten und richtet die Desktop-Integration ein.
137
+
121
138
  **Spezifisch für Distributionen:**
122
139
 
123
140
  Für Ubuntu/Debian-basierte Systeme:
@@ -130,6 +147,24 @@ Für Fedora/RHEL/CentOS-basierte Systeme:
130
147
  ./install_dnf.sh
131
148
  ```
132
149
 
150
+ ### Flatpak-Paket selbst erstellen
151
+
152
+ ```bash
153
+ # Flatpak-Paket lokal erstellen
154
+ ./build_flatpak.sh
155
+
156
+ # Erstelltes Paket installieren
157
+ flatpak install build/flatpak/bash-script-maker.flatpak
158
+ ```
159
+
160
+ ### Nur Desktop-Integration installieren
161
+
162
+ Falls Sie die App bereits installiert haben und nur die Desktop-Integration hinzufügen möchten:
163
+
164
+ ```bash
165
+ ./install_desktop_integration.sh
166
+ ```
167
+
133
168
  ### Manuelle Installation
134
169
 
135
170
  Wenn die automatischen Scripts nicht funktionieren, installieren Sie die Pakete manuell:
@@ -185,10 +220,28 @@ Alle Scripts sind ausführbar und können direkt aufgerufen werden.
185
220
  ## Verwendung
186
221
 
187
222
  ### Programm starten
223
+
224
+ **Über das Anwendungsmenü:**
225
+ Nach der Installation finden Sie "Bash-Script-Maker" im Anwendungsmenü Ihrer Desktop-Umgebung.
226
+
227
+ **Über das Terminal:**
188
228
  ```bash
189
- python bash_script_maker.py
229
+ bash-script-maker
190
230
  ```
191
231
 
232
+ **Direkt aus dem Quellcode:**
233
+ ```bash
234
+ python3 bash_script_maker.py
235
+ ```
236
+
237
+ ### Desktop-Integration
238
+
239
+ Die App wird automatisch mit einem benutzerdefinierten Icon und Desktop-Integration installiert:
240
+ - **Icon**: Ein modernes SVG-Icon mit Terminal-Design
241
+ - **Desktop-Datei**: Vollständige Integration in das Anwendungsmenü
242
+ - **Kategorien**: Development und Utility
243
+ - **Unterstützte Distributionen**: Alle Linux-Distributionen mit Desktop-Umgebung
244
+
192
245
  ### Script erstellen
193
246
  1. Wählen Sie die gewünschten Befehlsbausteine aus der linken Palette
194
247
  2. Klicken Sie auf einen Baustein, um ihn in den Editor einzufügen
@@ -2,25 +2,36 @@ LICENSE
2
2
  MANIFEST.in
3
3
  README.md
4
4
  VERSION
5
+ __version__.py
5
6
  assets.py
6
7
  bash-script-maker.desktop
7
8
  bash_script_maker.py
9
+ bash_script_maker_flatpak.py
8
10
  beispiel_script.sh
11
+ build_flatpak.sh
9
12
  compile_translations.py
13
+ create_release.sh
10
14
  custom_dialogs.py
15
+ dev-requirements.txt
11
16
  init_github.sh
12
17
  install.sh
13
18
  install_apt.sh
19
+ install_desktop_integration.sh
14
20
  install_dnf.sh
21
+ install_flatpak.sh
15
22
  localization.py
16
23
  mein_script.sh
17
24
  packages.txt
18
25
  pyproject.toml
19
26
  requirements.txt
20
27
  setup.py
28
+ setup_flatpak.py
21
29
  start.sh
22
30
  syntax_highlighter.py
23
31
  test_installation.sh
32
+ uninstall.sh
33
+ assets/bash-script-maker-16.png
34
+ assets/bash-script-maker.svg
24
35
  bash_script_maker.egg-info/PKG-INFO
25
36
  bash_script_maker.egg-info/SOURCES.txt
26
37
  bash_script_maker.egg-info/dependency_links.txt
@@ -28,4 +39,5 @@ bash_script_maker.egg-info/entry_points.txt
28
39
  bash_script_maker.egg-info/not-zip-safe
29
40
  bash_script_maker.egg-info/requires.txt
30
41
  bash_script_maker.egg-info/top_level.txt
31
- tests/test_basic.py
42
+ locales/de/LC_MESSAGES/base.po
43
+ locales/en/LC_MESSAGES/base.po
@@ -1,2 +1,5 @@
1
1
  [console_scripts]
2
2
  bash-script-maker = bash_script_maker:main
3
+
4
+ [gui_scripts]
5
+ bash-script-maker = bash_script_maker:main
@@ -1,3 +1,5 @@
1
+ ttkbootstrap>=1.10.1
2
+ pygments>=2.15.1
1
3
 
2
4
  [dev]
3
5
  pytest>=6.0.0
@@ -8,3 +10,4 @@ mypy>=0.800
8
10
  tox>=3.20.0
9
11
  twine>=3.0.0
10
12
  build>=0.7.0
13
+ bandit>=1.7.0
@@ -1,2 +1,5 @@
1
+ assets
1
2
  bash_script_maker
3
+ custom_dialogs
4
+ localization
2
5
  syntax_highlighter
@@ -4,6 +4,11 @@
4
4
  Bash-Script-Maker - Ein GUI-Programm zur Erstellung von Bash-Scripts
5
5
  """
6
6
 
7
+ try:
8
+ from __version__ import __version__
9
+ except ImportError:
10
+ __version__ = "1.2.1"
11
+
7
12
  import tkinter as tk
8
13
  from tkinter import scrolledtext, messagebox
9
14
  import ttkbootstrap as ttk