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.
- {bash-script-maker-1.6.0/bash_script_maker.egg-info → bash-script-maker-1.6.1}/PKG-INFO +1 -1
- bash-script-maker-1.6.1/VERSION +1 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/__version__.py +2 -2
- bash-script-maker-1.6.1/assets/bash-script-maker-128.png +0 -0
- bash-script-maker-1.6.1/assets/bash-script-maker-16.png +0 -0
- bash-script-maker-1.6.1/assets/bash-script-maker-256.png +0 -0
- bash-script-maker-1.6.1/assets/bash-script-maker-32.png +0 -0
- bash-script-maker-1.6.1/assets/bash-script-maker-48.png +0 -0
- bash-script-maker-1.6.1/assets/bash-script-maker-64.png +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1/bash_script_maker.egg-info}/PKG-INFO +1 -1
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/SOURCES.txt +2 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.py +1 -1
- bash-script-maker-1.6.1/generate_icons.py +75 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/pyproject.toml +1 -1
- bash-script-maker-1.6.0/VERSION +0 -1
- bash-script-maker-1.6.0/assets/bash-script-maker-128.png +0 -0
- bash-script-maker-1.6.0/assets/bash-script-maker-16.png +0 -0
- bash-script-maker-1.6.0/assets/bash-script-maker-32.png +0 -0
- bash-script-maker-1.6.0/assets/bash-script-maker-48.png +0 -0
- bash-script-maker-1.6.0/assets/bash-script-maker-64.png +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/LICENSE +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/MANIFEST.in +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/README.md +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/assets/bash-script-maker.svg +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/assets.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash-script-maker.desktop +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/dependency_links.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/entry_points.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/not-zip-safe +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/requires.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/top_level.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/beispiel_script.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/compile_translations.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/create_release.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/custom_dialogs.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/dev-requirements.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/init_github.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_apt.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_desktop_integration.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/install_dnf.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/locales/de/LC_MESSAGES/base.po +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/locales/en/LC_MESSAGES/base.po +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/localization.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/mein_script.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/packages.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/requirements.txt +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup.cfg +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/setup_flatpak.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/start.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/syntax_highlighter.py +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/test_installation.sh +0 -0
- {bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/uninstall.sh +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
1.6.1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -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.
|
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"}
|
bash-script-maker-1.6.0/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.6.0
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/dependency_links.txt
RENAMED
File without changes
|
{bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/entry_points.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bash-script-maker-1.6.0 → bash-script-maker-1.6.1}/bash_script_maker.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|