@echo off
rem QuickChat 通知アプリの起動用ランチャー。
rem コンソール(PowerShell/コマンドプロンプト)に紐づかない windowless プロセスとして起動するため、
rem 他のアプリのPowerShell等を閉じても、この受信アプリは落ちません。
setlocal
set "DIR=%~dp0"
> "%DIR%QuickChatNotifier.vbs" echo CreateObject("WScript.Shell").Run "powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -File ""%DIR%QuickChatNotifier.ps1""", 0, False
start "" wscript.exe "%DIR%QuickChatNotifier.vbs"
