bash-script-maker 1.6.0__tar.gz → 1.6.1__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 (54) hide show
  1. {bash-script-maker-1.6.0/bash_script_maker.egg-info → bash-script-maker-1.6.1}/PKG-INFO +1 -1
  2. bash-script-maker-1.6.1/VERSION +1 -0
  3. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/__version__.py +2 -2
  4. bash-script-maker-1.6.1/assets/bash-script-maker-128.png +0 -0
  5. bash-script-maker-1.6.1/assets/bash-script-maker-16.png +0 -0
  6. bash-script-maker-1.6.1/assets/bash-script-maker-256.png +0 -0
  7. bash-script-maker-1.6.1/assets/bash-script-maker-32.png +0 -0
  8. bash-script-maker-1.6.1/assets/bash-script-maker-48.png +0 -0
  9. bash-script-maker-1.6.1/assets/bash-script-maker-64.png +0 -0
  10. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1/bash_script_maker.egg-info}/PKG-INFO +1 -1
  11. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/SOURCES.txt +2 -0
  12. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.py +1 -1
  13. bash-script-maker-1.6.1/generate_icons.py +75 -0
  14. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/pyproject.toml +1 -1
  15. bash-script-maker-1.6.0/VERSION +0 -1
  16. bash-script-maker-1.6.0/assets/bash-script-maker-128.png +0 -0
  17. bash-script-maker-1.6.0/assets/bash-script-maker-16.png +0 -0
  18. bash-script-maker-1.6.0/assets/bash-script-maker-32.png +0 -0
  19. bash-script-maker-1.6.0/assets/bash-script-maker-48.png +0 -0
  20. bash-script-maker-1.6.0/assets/bash-script-maker-64.png +0 -0
  21. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/LICENSE +0 -0
  22. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/MANIFEST.in +0 -0
  23. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/README.md +0 -0
  24. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/assets/bash-script-maker.svg +0 -0
  25. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/assets.py +0 -0
  26. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash-script-maker.desktop +0 -0
  27. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/dependency_links.txt +0 -0
  28. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/entry_points.txt +0 -0
  29. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/not-zip-safe +0 -0
  30. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/requires.txt +0 -0
  31. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/top_level.txt +0 -0
  32. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/beispiel_script.sh +0 -0
  33. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/compile_translations.py +0 -0
  34. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/create_release.sh +0 -0
  35. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/custom_dialogs.py +0 -0
  36. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/dev-requirements.txt +0 -0
  37. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/init_github.sh +0 -0
  38. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install.sh +0 -0
  39. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_apt.sh +0 -0
  40. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_desktop_integration.sh +0 -0
  41. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_dnf.sh +0 -0
  42. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/locales/de/LC_MESSAGES/base.po +0 -0
  43. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/locales/en/LC_MESSAGES/base.po +0 -0
  44. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/localization.py +0 -0
  45. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/mein_script.sh +0 -0
  46. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/packages.txt +0 -0
  47. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/requirements.txt +0 -0
  48. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup.cfg +0 -0
  49. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup.py +0 -0
  50. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup_flatpak.py +0 -0
  51. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/start.sh +0 -0
  52. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/syntax_highlighter.py +0 -0
  53. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/test_installation.sh +0 -0
  54. {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/uninstall.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bash-script-maker
3
- Version: 1.6.0
3
+ Version: 1.6.1
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
6
  Author: Marcel Dellmann
@@ -0,0 +1 @@
1
+ 1.6.1
@@ -4,5 +4,5 @@
4
4
  Version information for Bash-Script-Maker
5
5
  """
6
6
 
7
- __version__ = "1.6.0"
8
- __version_info__ = (1, 6, 0)
7
+ __version__ = "1.6.1"
8
+ __version_info__ = (1, 6, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bash-script-maker
3
- Version: 1.6.0
3
+ Version: 1.6.1
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
6
  Author: Marcel Dellmann
@@ -11,6 +11,7 @@ compile_translations.py
11
11
  create_release.sh
12
12
  custom_dialogs.py
13
13
  dev-requirements.txt
14
+ generate_icons.py
14
15
  init_github.sh
15
16
  install.sh
16
17
  install_apt.sh
@@ -29,6 +30,7 @@ test_installation.sh
29
30
  uninstall.sh
30
31
  assets/bash-script-maker-128.png
31
32
  assets/bash-script-maker-16.png
33
+ assets/bash-script-maker-256.png
32
34
  assets/bash-script-maker-32.png
33
35
  assets/bash-script-maker-48.png
34
36
  assets/bash-script-maker-64.png
@@ -267,7 +267,7 @@ class BashScriptMaker:
267
267
  script_dir = os.path.dirname(os.path.abspath(__file__))
268
268
 
269
269
  # Icon-Größen die wir haben
270
- icon_sizes = [16, 32, 48, 64, 128]
270
+ icon_sizes = [16, 32, 48, 64, 128, 256]
271
271
  icon_files = []
272
272
 
273
273
  # Verfügbare Icon-Dateien sammeln
@@ -0,0 +1,75 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ Icon-Generator für Bash-Script-Maker
5
+ Erstellt PNG-Icons in verschiedenen Größen aus der SVG-Datei
6
+ """
7
+
8
+ import os
9
+ import sys
10
+
11
+ def generate_icons():
12
+ """Generiert PNG-Icons aus der SVG-Datei"""
13
+ try:
14
+ import cairosvg
15
+ except ImportError:
16
+ print("Fehler: cairosvg ist nicht installiert.")
17
+ print("Installieren Sie es mit: pip install cairosvg")
18
+ return False
19
+
20
+ # Pfade definieren
21
+ script_dir = os.path.dirname(os.path.abspath(__file__))
22
+ svg_path = os.path.join(script_dir, "assets", "bash-script-maker.svg")
23
+
24
+ if not os.path.exists(svg_path):
25
+ print(f"Fehler: SVG-Datei nicht gefunden: {svg_path}")
26
+ return False
27
+
28
+ # Icon-Größen definieren
29
+ sizes = [16, 32, 48, 64, 128, 256]
30
+
31
+ print("=== Bash-Script-Maker Icon Generator ===")
32
+ print(f"Quelle: {svg_path}")
33
+ print()
34
+
35
+ success_count = 0
36
+
37
+ for size in sizes:
38
+ output_path = os.path.join(script_dir, "assets", f"bash-script-maker-{size}.png")
39
+
40
+ try:
41
+ # SVG zu PNG konvertieren
42
+ cairosvg.svg2png(
43
+ url=svg_path,
44
+ write_to=output_path,
45
+ output_width=size,
46
+ output_height=size
47
+ )
48
+
49
+ # Dateigröße überprüfen
50
+ file_size = os.path.getsize(output_path)
51
+ print(f"✓ {os.path.basename(output_path)} ({size}x{size}) - {file_size:,} Bytes")
52
+ success_count += 1
53
+
54
+ except Exception as e:
55
+ print(f"✗ Fehler bei {size}x{size}: {e}")
56
+
57
+ print()
58
+ print(f"Erfolgreich: {success_count}/{len(sizes)} Icons erstellt")
59
+ return success_count == len(sizes)
60
+
61
+ def main():
62
+ """Hauptfunktion"""
63
+ if len(sys.argv) > 1 and sys.argv[1] in ['-h', '--help']:
64
+ print(__doc__)
65
+ print("\nVerwendung:")
66
+ print(" python3 generate_icons.py")
67
+ print("\nVoraussetzungen:")
68
+ print(" pip install cairosvg")
69
+ return
70
+
71
+ success = generate_icons()
72
+ sys.exit(0 if success else 1)
73
+
74
+ if __name__ == "__main__":
75
+ main()
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bash-script-maker"
7
- version = "1.6.0"
7
+ version = "1.6.1"
8
8
  description = "Ein GUI-Programm zur Erstellung von Bash-Scripts mit visueller Unterstützung"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -1 +0,0 @@
1
- 1.6.0