Snapshot của zulip/zulip-desktop-legacy: 245★ · C++. Zulip legacy desktop app
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
The legacy Zulip desktop app is a C++ application written with the Qt toolkit. It is a lightweight wrapper around a Webkit web view: it loads the zulip webapp as a single page full-screen webpage. The desktop app provides some native integrations: tray icon and Dock support, notifications, and more.
It is deprecated in favor of the new electron implementation.
Dependencies
cmake >= 2.10
Qt4 OR Qt5
qjson
Linux
Qt4 with Phonon
OS X
Sparkle.framework
Growl.framework (both should be installed to /Library/Frameworks)
Windows
NSIS
Installation
mkdir build
cd build
cmake ..
make
To build with Qt5, pass -DBUILD_WITH_QT5=On to cmake.
Use With Custom Servers
The desktop client accepts the following switches:
--debug | Log debug info
--site https://yourdomain.com | Connect to a custom domain
--allow-insecure | Don't verify SSL certificates
To use with your own domain, start the desktop client using the --site option.
Architecture
Though the desktop app is written in C++ using the Qt toolkit, the Mac version of the desktop app does not use the QtWebkit included with Qt: it instead uses a native Cocoa WebView that is embedded inside the main Qt app with a QMacCocoaViewContainer bridge.
The HWebView class provides an abstraction around the platforms-specific pieces that comprise this web view: on Mac, HWebView_mac.mm is the Objective-C++ file that integrate with the native Cocoa webview. On Windows and Linux, HWebView.cpp uses QtWebkit to render the display.
Building releases
OS X
On OS X we can generate a packaged .dmg with a bundled Zulip Desktop.app.
Run ./admin/mac/make_package.sh CODESIGN_NAME ZULIP_VERSION where:
CODESIGN_NAME is the name of the developer ID that should be used to codesign the resulting .app
ZULIP_VERSION is the version
string you want for this build of Zulip.
Sparkle
Our OS X app uses Sparkle as an auto-updating mechanism. Sparkle is configured as an RSS feed on our server that the desktop app checks daily---if there is a new release in the RSS feed, Sparkle will prompt the user to upgrade, and if the user confirms it will automatically download, install, and restart the Zulip app.
The sparkle RSS feeds and Changelogs are configured in the sparkle puppet files in the main zulip server repository. The make-package.sh build script above will also output the Sparkle codesign signature that should be included in the Sparkle RSS file.
Windows
This requires a MSVC build toolchain and the Zulip dependencies built with the same version of MSVC. The windows build requires Qt5.
Linux
See your favorite distribution package management system for how to distribute a binary Zulip package on linux.
Debugging
Linux / Windows
It is possible to attach a web inspector to the QtWebkit page that is used in the Linux/Windows desktop app. Here are the steps:
Run zulip with zulip --debug
Download and extract http://files.lfranchi.com/QtTestBrowser.tar.bz2 (the version of webkit used to connect to the remote developer tools must be the same as the version of webkit in zulip)
In the extracted folder, run qmake && make
Run the webkit browser with bin/QtTestBrowser
Navigate to localhost:8888 in your test browser
Mac
The Cocoa WebView in the Mac app natively supports opening the Safari web inspector.
Run Zulip.app/Contents/MacOS/Zulip --debug
Right-click on an element on the page and select "Inspect Element"
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/zulip/zulip-desktop-legacy là nguồn chính thức.
zulip/zulip-desktop-legacy có phải mã nguồn mở không?
Có — zulip/zulip-desktop-legacy phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/zulip/zulip-desktop-legacy.
zulip/zulip-desktop-legacy có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho zulip/zulip-desktop-legacy. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
zulip/zulip-desktop-legacy dùng license gì?
zulip/zulip-desktop-legacy phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
zulip/zulip-desktop-legacy là gì?
zulip/zulip-desktop-legacy (zulip/zulip-desktop-legacy) là dự án C++ trên GitHub. Theo mô tả gốc: Zulip legacy desktop app
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về zulip-desktop-legacy?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về zulip-desktop-legacy.