Skip to content

Releases: Le0nyx/ScriptHub

v0.1.0 ScriptHub first release

11 Jun 21:20

Choose a tag to compare

v0.1.0 – Initial Public Release (11 June 2025)

Overview
This is the first public release of HubCppApproach, a lightweight Windows system-tray application written in C++ (C++17, Win32 API). It reads script definitions from AppSettings.conf and presents them as menu items under a tray icon. Selecting a menu entry launches the associated executable or command.

New Features

  • System Tray Integration: Runs hidden with a tray icon; menu appears on click.
  • Dynamic Script Loading: Reads AppSettings.conf at startup to populate menu items.
  • Unicode Support: Built with -municode for proper handling of Unicode paths.
  • Configurable via AppSettings.conf: Sample config file included to define script names and paths.
  • Example Scripts Provided: Includes example scripts (scripts/a.exe, scripts/hello.exe) to demonstrate functionality.
  • Optional Custom Icon: If appIcon.ico is present alongside the executable, the tray icon is updated accordingly.
  • Silent Launch & Cleanup: Launches scripts without showing a console window (-mwindows), cleans up resources on exit.

Installation

  1. Download the Windows ZIP asset for this release:
    • HubCppApproach-v0.1.0-windows.zip
      (Attach this ZIP when publishing the release; it should contain:
    • HubCppApproach.exe
    • AppSettings.conf (sample)
    • scripts/ folder with example executables
    • (Optional) appIcon.ico)
  2. Extract the ZIP into a folder of your choice.
  3. Edit Configuration: Open AppSettings.conf in a text editor and list your own scripts/commands. Use double backslashes (\\) or forward slashes (/) in paths as appropriate for Windows.
  4. Run: Double-click HubCppApproach.exe. A tray icon appears. Click or right-click it to see and launch your scripts.

Configuration

  • Sample AppSettings.conf format:
    scripts {
        "1 Script one": "scripts\\a.exe"
        "2 Script two": "scripts\\hello.exe"
        "3 Script three": "C:\\Path\\To\\YourScript.exe"
    }