Projects STRLCPY sing-box Commits 09b001e7
🤬
  • ■ ■ ■ ■ ■
    .goreleaser.yaml
    skipped 117 lines
    118 118   - src: LICENSE
    119 119   dst: /usr/share/licenses/sing-box/LICENSE
    120 120   scripts:
     121 + postinstall: release/config/postinstall.sh
    121 122   postremove: release/config/postremove.sh
    122 123  source:
    123 124   enabled: false
    skipped 14 lines
  • ■ ■ ■ ■ ■ ■
    release/config/postinstall.sh
     1 +#!/bin/sh
     2 + 
     3 +mkdir -p /var/lib/sing-box
  • ■ ■ ■ ■ ■
    release/local/install.sh
    skipped 13 lines
    14 14  popd
    15 15   
    16 16  sudo cp $(go env GOPATH)/bin/sing-box /usr/local/bin/
     17 +sudo mkdir -p /var/lib/sing-box
    17 18  sudo mkdir -p /usr/local/etc/sing-box
    18 19  sudo cp $PROJECT/release/config/config.json /usr/local/etc/sing-box/config.json
    19 20  sudo cp $DIR/sing-box.service /etc/systemd/system
    skipped 2 lines
Please wait...
Page is in error, reload to recover