chat_desk
v0.8.3
chat_desk(在製作中)桌面上寫的自托聊天應用程序!
在Windows和Linux上進行了精心測試!
我不擁有Mac,所以需要Mac測試人員!任何幫助會非常感謝嗎?
前往發行
curl " https://raw.githubusercontent.com/omegaui/chat_desk_linux_install_script/main/script/install-linux.sh " | sh除了設置外,您還需要在安裝根目錄中下載chat_desk_core & pubspec.yml
運行以下內容以下載它,
wget https://raw.githubusercontent.com/omegaui/chat_desk_core/main/bin/ < platform > /chat_desk_core.exe
wget https://raw.githubusercontent.com/omegaui/chat_desk_core/main/pubspec.yml在哪裡,平台是Windows或Mac 。
很容易
git clone https://github.com/omegaui/chat_desk
cd chat_deskflutter pub get
wget https://raw.githubusercontent.com/omegaui/chat_desk_core/main/bin/ < platform > /chat_desk_core.exe
# for linux
# sudo chmod 777 chat_desk_core.exeflutter run 嘿,這是給您的,如果您想幫助構建項目,
由於該程序的核心是分開的,並且獨立於UI,因此似乎構建了核心和UI的麻煩,用於測試更改/功能,
⚡但是chat_desk並非如此
為了調試目的,您可以替換server_handler.dart中的spawner命令,以啟用嵌入式核心,
您需要做的就是替換,
只有這條線
_serverProcess = await Process . start (
"${! Platform . isWindows ? "./" : "" }chat_desk_core.exe" , []);與此行
_serverProcess = await Process . start (
"dart" , [ "lib/core/server/server.dart" ]);就是這一切,您的嵌入式服務器已準備好進行測試! !


