skycoin / skywire

Skywire Node implementation
73 stars 45 forks source link

change app subcommand names back to full app name #1763

Closed 0pcom closed 3 months ago

0pcom commented 3 months ago

to optimize the PKGBUILD ; the app subcommand names were changed back to their full names instead of their abbreviated names

_appscript=("skychat" "skysocks" "skysocks-client" "vpn-client" "vpn-server")

build() {
  GOBIN="${srcdir}"
  _GOAPPS="${GOBIN}/apps"
  mkdir -p ${_GOAPPS}
  _msg2 'creating launcher scripts'
  for _i in "${_appscript[@]}" ; do
    _msg3 ${_i}
    echo -e '#!/bin/bash\n/opt/skywire/bin/skywire app '"${_i} "'$@' > "${_GOAPPS}/${_i}"
  done
  ...