"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/script/postinstall.cmd" (8 Mar 2017, 422 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @echo off
    2 setlocal EnableDelayedExpansion
    3 setlocal EnableExtensions
    4 
    5 echo ^>^> Downloading bundled Node
    6 node .\script\download-node.js
    7 
    8 echo.
    9 for /f "delims=" %%i in ('.\bin\node.exe -p "process.version + ' ' + process.arch"') do set bundledVersion=%%i
   10 echo ^>^> Rebuilding apm dependencies with bundled Node !bundledVersion!
   11 call .\bin\npm.cmd rebuild
   12 
   13 echo.
   14 echo ^>^> Deduping apm dependencies
   15 call .\bin\npm.cmd dedupe