代码拉取完成,页面将自动刷新
@echo off
set SCRIPT_PATH=%~dp0
cd %SCRIPT_PATH%
set PHP_PATH=%SCRIPT_PATH%archive\php7.3.4nts
set PATH=%PHP_PATH%;%PATH%
if not exist "%PHP_PATH%" (
call install.bat
)
echo/
echo/
echo #######################################################
echo ############ install nop-printer-service ###########
echo #######################################################
ver | findstr " 6.1" && copy /B /Y .\archive\winsw\winsw-win7.exe .\bin\nop-printer-service.exe || copy /B /Y .\archive\winsw\winsw-win10.exe .\bin\nop-printer-service.exe
echo init service config ...
php -r "file_put_contents('./bin/nop-printer-service.xml',str_replace('{{WORK_PATH}}', getenv('SCRIPT_PATH'), file_get_contents('./bin/nop-printer-service.xml.tpl')));"
echo install service: nop-printer ...
bin\nop-printer-service.exe install
echo start service: nop-printer
bin\nop-printer-service.exe start
echo start service complete.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。