Chat client for https://twitch.tv
Find a file
pajlada 4c23f4bcea
Allow for local macOS signed builds (#4582)
Split up the CreateDMG.sh macos script to two scripts:
MacDeploy.sh - this calls macdeployqt on the built app
CreateDMG.sh - this calls dmgbuild on the built & deployed app

Add a `SKIP_VENV` environment variable to CreateDMG.sh, this can be used to use the system version of dmgbuild
Add the ability to codesign the created dmg and its contents using the `MACOS_CODESIGN_CERTIFICATE` environment variable
Moved the output name logic from CreateDMG to the `OUTPUT_DMG_PATH` environment variable

The nightly release create job also doesn't remove artifacts now, it only replaces artifacts that are conflicting.
The downside to this is that if we change the name of an artifact, we need to manually delete the old artifact.
The upside to this is that we can now upload artifacts that are not handled in the same CI job.
2023-04-29 16:07:20 +02:00
.CI Allow for local macOS signed builds (#4582) 2023-04-29 16:07:20 +02:00
.docker Add macOS, Windows, & Ubuntu 22.04 Qt6 builds (#4522) 2023-04-15 13:25:51 +02:00
.github Allow for local macOS signed builds (#4582) 2023-04-29 16:07:20 +02:00
.patches Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
benchmarks Remove Redundant Parsing of Links (#4507) 2023-04-22 22:58:37 +00:00
cmake Store Themes as JSON files (#4471) 2023-04-08 09:05:55 +00:00
docs Adjust plugin documentation to match implementation (#4540) 2023-04-14 18:19:24 +00:00
lib Bump lib/serialize from 1f99aa8 to bbf0a34 (#4531) 2023-04-10 15:23:38 +00:00
resources Fix Linux appdata file (#4575) 2023-04-23 08:21:58 +00:00
src Refactor LinkParser (#4576) 2023-04-23 14:56:39 +00:00
tests Refactor LinkParser (#4576) 2023-04-23 14:56:39 +00:00
tools Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
.cirrus.yml Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
.clang-tidy Add basic lua scripting capabilities (#4341) 2023-04-02 15:31:53 +02:00
.dockerignore Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Fix builds from CI showing up as modified (#4384) 2023-02-16 13:56:20 +00:00
.gitmodules Add basic lua scripting capabilities (#4341) 2023-04-02 15:31:53 +02:00
.prettierignore Store Themes as JSON files (#4471) 2023-04-08 09:05:55 +00:00
.prettierrc Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
BUILDING_ON_FREEBSD.md Remove official support for QMake (#3839) 2022-07-23 14:04:29 +02:00
BUILDING_ON_LINUX.md Update Debian dependencies to include libsecret (#4451) 2023-03-16 20:30:23 +01:00
BUILDING_ON_MAC.md Update macOS build instructions & fix release artifacts (#4545) 2023-04-15 14:23:33 +02:00
BUILDING_ON_WINDOWS.md Upgrade from Conan 1.x to 2.x (#4417) 2023-04-02 10:48:22 +00:00
BUILDING_ON_WINDOWS_WITH_VCPKG.md Update Windows build documentation (#4413) 2023-03-04 12:09:20 +01:00
CHANGELOG.md Refactor LinkParser (#4576) 2023-04-23 14:56:39 +00:00
CMakeLists.txt Remove CHATTERINO_TEST definition (#4526) 2023-04-09 12:18:56 +02:00
conanfile.py Upgrade from Conan 1.x to 2.x (#4417) 2023-04-02 10:48:22 +00:00
CONTRIBUTING.md Update Conventions examples in Contributing.md (#3538) 2022-01-22 19:36:53 +00:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md test 2023-04-16 11:18:27 +02:00
vcpkg.json Update vcpkg.json (#4343) 2023-01-30 20:48:05 +01:00

alt text Chatterino 2 GitHub Actions Build (Windows, Ubuntu, MacOS) Cirrus CI Build (FreeBSD only) Chocolatey Package Flatpak Package

Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.

Download

Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.

Nightly build

You can download the latest Chatterino 2 build over here

You might also need to install the VC++ Redistributables from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing, then you should install the VC++ 2013 Restributable.

Building

To get source code with required submodules run:

git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git

or

git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive

Building on Windows

Building on Windows with vcpkg

Building on Linux

Building on Mac

Building on FreeBSD

Code style

The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.

Get it automated with QT Creator + Beautifier + Clang Format

  1. Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.5/LLVM-15.0.5-win64.exe
  2. During the installation, make sure to add it to your path
  3. In QT Creator, select Help > About Plugins > C++ > Beautifier to enable the plugin
  4. Restart QT Creator
  5. Select Tools > Options > Beautifier
  6. Under General select Tool: ClangFormat and enable Automatic Formatting on File Save
  7. Under Clang Format select Use predefined style: File and Fallback style: None

Qt creator should now format the documents when saving it.

Doxygen

Doxygen is used to generate project information daily and is available here.

test