diff --git a/App/lib/config/Makefile.win b/App/lib/config/Makefile.win deleted file mode 100644 index 3941696..0000000 --- a/App/lib/config/Makefile.win +++ /dev/null @@ -1,30 +0,0 @@ -# Project: deb_miscellen -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = -OBJ = main.o $(RES) -LINKOBJ = main.o $(RES) -LIBS = -L"C:/Dev-Cpp/lib" -INCS = -I"C:/Dev-Cpp/include" -CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -BIN = deb_miscellen.exe -CXXFLAGS = $(CXXINCS) -CFLAGS = $(INCS) -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before deb_miscellen.exe all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -$(BIN): $(OBJ) - $(CPP) $(LINKOBJ) -o "deb_miscellen.exe" $(LIBS) - -main.o: main.cpp - $(CPP) -c main.cpp -o main.o $(CXXFLAGS) diff --git a/App/lib/config/bin/connect.rb b/App/lib/config/bin/connect.rb deleted file mode 100644 index d517b16..0000000 --- a/App/lib/config/bin/connect.rb +++ /dev/null @@ -1 +0,0 @@ -puts "none" diff --git a/App/lib/config/bin/db.sqlite b/App/lib/config/bin/db.sqlite deleted file mode 100644 index b598f97..0000000 --- a/App/lib/config/bin/db.sqlite +++ /dev/null @@ -1,5 +0,0 @@ -CREATE TABLE users ( - id INTEGER PRIMARY KEY, - name TEXT, - age INTEGER -); diff --git a/App/lib/config/bin/quarrel.rb b/App/lib/config/bin/quarrel.rb deleted file mode 100644 index 58f56e7..0000000 --- a/App/lib/config/bin/quarrel.rb +++ /dev/null @@ -1 +0,0 @@ -puts 'quarrel' diff --git a/App/lib/config/bin/raw_select.rb b/App/lib/config/bin/raw_select.rb deleted file mode 100644 index 9b8b656..0000000 --- a/App/lib/config/bin/raw_select.rb +++ /dev/null @@ -1 +0,0 @@ -puts 'Select' diff --git a/App/lib/config/deb_miscellen.dev b/App/lib/config/deb_miscellen.dev deleted file mode 100644 index 523084b..0000000 --- a/App/lib/config/deb_miscellen.dev +++ /dev/null @@ -1,59 +0,0 @@ -[Project] -FileName=deb_miscellen.dev -Name=deb_miscellen -UnitCount=1 -Type=1 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Compiler= -CppCompiler= -Linker= -IsCpp=1 -Icon= -ExeOutput= -ObjectOutput= -OverrideOutput=0 -OverrideOutputName= -HostApplication= -Folders= -CommandLine= -UseCustomMakefile=0 -CustomMakefile= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings= - -[Unit1] -FileName=main.cpp -CompileCpp=1 -Folder= -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - diff --git a/App/lib/config/main.cpp b/App/lib/config/main.cpp deleted file mode 100644 index 76ccb56..0000000 --- a/App/lib/config/main.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include - -using namespace std; - -int main(int argc, char *argv[]) -{ - system("PAUSE"); - return EXIT_SUCCESS; -} diff --git a/App/lib/lib.md b/App/lib/lib.md deleted file mode 100644 index d9d3fd6..0000000 --- a/App/lib/lib.md +++ /dev/null @@ -1 +0,0 @@ -# Lib list diff --git a/App/lib/lib/ffmpeg/ffmpeg.linux.py b/App/lib/lib/ffmpeg/ffmpeg.linux.py deleted file mode 100644 index 583c399..0000000 --- a/App/lib/lib/ffmpeg/ffmpeg.linux.py +++ /dev/null @@ -1 +0,0 @@ -url = "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl-shared.tar.xz" \ No newline at end of file diff --git a/App/lib/lib/ffmpeg/ffmpeg.macos.py b/App/lib/lib/ffmpeg/ffmpeg.macos.py deleted file mode 100644 index dbb455a..0000000 --- a/App/lib/lib/ffmpeg/ffmpeg.macos.py +++ /dev/null @@ -1 +0,0 @@ -url = "https://evermeet.cx/ffmpeg/ffmpeg-117464-g1eb026dd8b.7z" \ No newline at end of file diff --git a/App/lib/lib/ffmpeg/ffmpeg.windows.py b/App/lib/lib/ffmpeg/ffmpeg.windows.py deleted file mode 100644 index 6be949b..0000000 --- a/App/lib/lib/ffmpeg/ffmpeg.windows.py +++ /dev/null @@ -1 +0,0 @@ -url = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.7z" \ No newline at end of file diff --git a/App/lib/lib/python/python.linux.py b/App/lib/lib/python/python.linux.py deleted file mode 100644 index 59fb2c9..0000000 --- a/App/lib/lib/python/python.linux.py +++ /dev/null @@ -1 +0,0 @@ -log_file = "./App/embedded/python/Linux/python_installed.log" \ No newline at end of file diff --git a/App/lib/lib/python/python.macos.py b/App/lib/lib/python/python.macos.py deleted file mode 100644 index 012305d..0000000 --- a/App/lib/lib/python/python.macos.py +++ /dev/null @@ -1 +0,0 @@ -url = "https://www.python.org/ftp/python/3.13.0/python-3.13.0-macos11.pkg" \ No newline at end of file diff --git a/App/lib/lib/python/python.windows.py b/App/lib/lib/python/python.windows.py deleted file mode 100644 index ddfea91..0000000 --- a/App/lib/lib/python/python.windows.py +++ /dev/null @@ -1 +0,0 @@ -url = "https://www.python.org/ftp/python/3.13.0/python-3.13.0-embed-amd64.zip" \ No newline at end of file diff --git a/App/lib/manifest/manifest b/App/lib/manifest/manifest deleted file mode 100644 index 08e4b05..0000000 --- a/App/lib/manifest/manifest +++ /dev/null @@ -1,10 +0,0 @@ -# Project Manifest -Project-Name: BlackDownloader -Version: 1.10.0 -Author: BlackRose -License: MIT -Description: A systematic downloader which covers a wide variety of platforms made by BlackBlazent. - -Dependencies: -- library1 >= 1.0.0 -- library2 \ No newline at end of file diff --git a/App/lib/settings/locales/__pycache__/arabic_setting.cpython-312.pyc b/App/lib/settings/locales/__pycache__/arabic_setting.cpython-312.pyc deleted file mode 100644 index a97f21f..0000000 Binary files a/App/lib/settings/locales/__pycache__/arabic_setting.cpython-312.pyc and /dev/null differ diff --git a/App/lib/settings/locales/arabic.json b/App/lib/settings/locales/arabic.json deleted file mode 100644 index 689db3f..0000000 --- a/App/lib/settings/locales/arabic.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "welcome": "مرحبًا بكم في BlackMiscellen! أدوات شاملة.", - "menu_option_1": "1. المحول (غير متوفر)", - "menu_option_2": "2. التنزيل (تنزيل الوسائط)", - "menu_option_3": "3. أوسينت (غير متوفر)", - "menu_option_4": "4. مترجم اللغات (غير متوفر)", - "menu_option_5": "5. تصفية الصور / الفيديوهات (غير متوفر)", - "menu_option_6": "6. التوليد (غير متوفر)", - "menu_option_7": "7. الإعدادات", - "menu_option_8": "8. تحديث", - "menu_option_9": "9. خروج", - "You selected Language: ": "اللغة المختارة" -} \ No newline at end of file diff --git a/App/lib/settings/locales/arabic_setting.py b/App/lib/settings/locales/arabic_setting.py deleted file mode 100644 index 24f68bc..0000000 --- a/App/lib/settings/locales/arabic_setting.py +++ /dev/null @@ -1,36 +0,0 @@ -import json -import os -import sys - -def load_translations(language): - """Load existing translations from a JSON file based on the given language.""" - translate_file = f'./App/settings/locales/{language}.json' - if os.path.exists(translate_file): - with open(translate_file, 'r', encoding='utf-8') as f: - return json.load(f) - return {} - -def translate_text(translations, text): - """Retrieve the translated text from the loaded translations.""" - return translations.get(text, text) # Return original text if not found - -class ConsoleOutputInterceptor: - """Intercepts console output and translates it.""" - def __init__(self, translations): - self.original_stdout = sys.stdout - self.translations = translations - - def write(self, message): - # Strip whitespace from the message - stripped_message = message.strip() - # Translate the message before writing it to the original stdout - translated_message = translate_text(self.translations, stripped_message) - # Call the original stdout's write method directly - self.original_stdout.write(translated_message + "\n") - - def flush(self): - pass # For compatibility with Python's I/O - -def enable_translation(translations): - """Enable the translation of all console output.""" - sys.stdout = ConsoleOutputInterceptor(translations) diff --git a/App/lib/settings/theme/__pycache__/color_scheme.cpython-312.pyc b/App/lib/settings/theme/__pycache__/color_scheme.cpython-312.pyc deleted file mode 100644 index 13dd9b4..0000000 Binary files a/App/lib/settings/theme/__pycache__/color_scheme.cpython-312.pyc and /dev/null differ diff --git a/App/lib/settings/theme/color_scheme.py b/App/lib/settings/theme/color_scheme.py deleted file mode 100644 index 39dd0e1..0000000 --- a/App/lib/settings/theme/color_scheme.py +++ /dev/null @@ -1,33 +0,0 @@ -# color_scheme.py - -# Define ANSI color codes -COLOR_SCHEMES = { - '1': ('\033[31m', 'Red'), # Red - '2': ('\033[33m', 'Yellow'), # Yellow - '3': ('\033[36m', 'Neon Blue'), # Neon Blue (Cyan) - '4': ('\033[32m', 'Green'), # Green - 'reset': '\033[0m' # Reset to default color -} - -def display_color_options(): - """Display available color schemes for user selection.""" - print("\nSelect a Color Scheme:") - for key, value in COLOR_SCHEMES.items(): - if key != 'reset' and isinstance(value, tuple): # Skip 'reset' and check for tuples - _, name = value - print(f"{key}. {name}") - -def get_color_choice(): - """Prompt the user to choose a color scheme and return the color code.""" - display_color_options() - choice = input("Enter the number of your choice (1-4): ") - color_code = COLOR_SCHEMES.get(choice, ('', 'Invalid choice'))[0] - if color_code: - print(f"\nYou selected Color Scheme: {COLOR_SCHEMES[choice][1]}") - else: - print("Invalid choice, using default color.") - return color_code or COLOR_SCHEMES['reset'] - -def apply_color(text, color_code): - """Apply the chosen color code to the provided text.""" - return f"{color_code}{text}{COLOR_SCHEMES['reset']}"