ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
linux:signal

signal desktop

signal-cli

build

snippet.bash
$ git clone https://github.com/AsamK/signal-cli.git
$ cd signal-cli
$ ./gradlew build
$ ./gradlew installDist
$ build/install/signal-cli/bin/signal-cli
usage: signal-cli [-h] [-v] [--verbose] [--config CONFIG] [-u USERNAME] [-o {plain-text,json}] [--service-environment {live,sandbox}]
                  [--dbus | --dbus-system]
                  {addDevice,block,daemon,getUserStatus,joinGroup,link,listContacts,listDevices,listGroups,listIdentities,quitGroup,receive,register,remoteDelete,removeDevice,removePin,send,sendContacts,sendReaction,sendSyncRequest,sendTyping,setPin,trust,unblock,unregister,updateAccount,updateContact,updateGroup,updateProfile,uploadStickerPack,verify}
                  ...
signal-cli: error: too few arguments

USAGE

$ build/install/signal-cli/bin/signal-cli -u +810000000000 register

build error

FAILURE: Build failed with an exception.

$ ./gradlew build でerror

Starting a Gradle Daemon (subsequent builds will be faster)                                                                                      
> Task :buildSrc:compileKotlin FAILED                                                                                                            
                                                                                                                                                 
FAILURE: Build failed with an exception.    

javaを8から11に

$ sudo update-alternatives --config java                                                                           
There are 2 choices for the alternative java (providing /usr/bin/java). 
                                                                                                                                                 
  Selection    Path                                            Priority   Status                                                                 
------------------------------------------------------------                                                                                     
  0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      auto mode                                                              
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode                                                            
* 2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode                                                            
                                                                                                                                                 
Press <enter> to keep the current choice[*], or type selection number: 0                                                                         
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode   

コメント

コメントを入力. Wiki文法が有効です:
  _   __  __  __   _  __   __    ___ 
 | | / / / / / /  / |/ /  / /   / _ )
 | |/ / / /_/ /  /    /  / /__ / _  |
 |___/  \____/  /_/|_/  /____//____/
 
linux/signal.txt · 最終更新: 2021/07/01 05:18 by matoken