mirror of
https://github.com/netinvent/npbackup.git
synced 2026-01-11 01:57:45 +08:00
Add windows binary script
This commit is contained in:
parent
1dfc52ceed
commit
87cb52aeff
1 changed files with 13 additions and 0 deletions
13
misc/npbackup.cmd
Normal file
13
misc/npbackup.cmd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@echo off
|
||||
|
||||
setlocal
|
||||
|
||||
if exist "%~dp0..\python.exe" (
|
||||
"%~dp0..\python" -m npbackup %*
|
||||
) else if exist "%~dp0python.exe" (
|
||||
"%~dp0python" -m npbackup %*
|
||||
) else (
|
||||
"python" -m npbackup %*
|
||||
)
|
||||
|
||||
endlocal
|
||||
Loading…
Add table
Reference in a new issue