nope/05-link.bat
Martin Karkowski f0032eef63 - Fixes:
- log-to-file: is now storing the last logs as well
  - nope-package-loader: is transmitting the correct parameters.
- Optimazations:
  - nope-package-loader: now storing elements with stringifyWithFunctions and is capable to read functions.
  - pub-sub-system: Adding partial changes of the topic structure. This speeds up the entire system.
2022-03-19 07:39:34 +01:00

37 lines
664 B
Batchfile

@echo off
set DIR=%~dp0
cd "%DIR%"
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
(npm link) && (
node contribute/toLinkBrowser.js
cp ./package.json ./build/package.json
cp -r .\dist-browser\ .\build\dist-browser
cd ./build
(npm link) && (
cd "%DIR%"
node contribute/toNodejs.js
) || (
cd "%DIR%"
node contribute/toNodejs.js
)
) || (
node contribute/toLinkBrowser.js
cp ./package.json ./build/package.json
cp -r .\dist-browser\ .\build\dist-browser
cd ./build
(npm link) && (
cd "%DIR%"
node contribute/toNodejs.js
) || (
cd "%DIR%"
node contribute/toNodejs.js
)
)