Skip to content

Instantly share code, notes, and snippets.

View V6ser's full-sized avatar

Rafael D Martins V6ser

View GitHub Profile
@V6ser
V6ser / Vape.ps1
Created June 30, 2024 13:07
Vapour Server Util
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing
$exePath = "path\to\Vapour.Server.Host.exe" # Replace with your actual path
# Create and configure the notify icon
$notifyIcon = New-Object System.Windows.Forms.NotifyIcon
$notifyIcon.Text = "Vapour Server Host"
$notifyIcon.Icon = [System.Drawing.Icon]::ExtractAssociatedIcon($exePath)
$notifyIcon.Visible = $true