Skip to content
Snippets Groups Projects

Build Signal-Desktop yourself

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by CompileNix

    Create a release build of Signal-Desktop from https://github.com/signalapp/Signal-Desktop

    git clone https://github.com/signalapp/Signal-Desktop.git
    cd Signal-Desktop

    checkout the current stable version (1.5.2 as of writing this)

    git checkout v1.5.2

    Then run this script.

    After a successful build there is a release folder within the Signal-Desktop directory which looks like this:

    release
    ├── linux-unpacked
    ├── electron-builder.yaml
    ├── signal-desktop_1.5.2_amd64.deb
    └── signal-desktop-1.5.2.zip
    
    1 directory, 3 files
    Edited
    build-signal-desktop.sh 461 B
    nodeVersion=$(cat .nvmrc)
    
    rm -rf /tmp/signal-desktop-node
    mkdir -pv /tmp/signal-desktop-node
    pushd "/tmp/signal-desktop-node"
    wget "https://nodejs.org/dist/v${nodeVersion}/node-v${nodeVersion}-linux-x64.tar.gz"
    tar xf "node-v${nodeVersion}-linux-x64.tar.gz"
    popd
    PATH="/tmp/signal-desktop-node/node-v${nodeVersion}-linux-x64/bin:$PATH"
    echo $nodeVersion
    node -v
    
    yarn install --frozen-lockfile
    yarn grunt
    yarn icon-gen
    yarn test
    #yarn start
    yarn build-release
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment