mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Add Explorer .cmd launchers and always-on desktop First-time setup shortcuts.
Server 2012 Start Menu often hides PowerShell .lnk entries; .cmd targets are visible. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
41ab4921a0
commit
ca97a2a597
8 changed files with 48 additions and 13 deletions
7
packaging/cmd/NetX-Tray.cmd
Normal file
7
packaging/cmd/NetX-Tray.cmd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
@echo off
|
||||
setlocal
|
||||
set "ROOT=%~dp0"
|
||||
if "%ROOT:~-1%"=="\" set "ROOT=%ROOT:~0,-1%"
|
||||
cd /d "%ROOT%"
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%ROOT%\packaging\launch_shortcut.ps1" -Action tray -ProgramRoot "%ROOT%" -DataRoot "%ProgramData%\NetX" -StartOnLaunch
|
||||
exit /b %ERRORLEVEL%
|
||||
Loading…
Add table
Add a link
Reference in a new issue