Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drill into script directory when installing plugin #58

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install_plugin_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
:: Check / get privileges
net file 1>NUL 2>NUL
if not '%errorlevel%' == '0' (
powershell Start-Process -FilePath "%0" -ArgumentList "%cd%" -verb runas >NUL 2>&1
powershell Start-Process -FilePath "%0" -verb runas >NUL 2>&1
exit /b
) else (
:: If we just got privileges, drill back into the directory where the script is
cd /d %1
cd /d %~dp0
)

:: Find the installer file
Expand Down
Loading