Skip to content
项目

ProtonVPN/proton-vpn-gtk-app

在 GitHub 查看

关于

ProtonVPN 官方 Linux 应用。

其他项目

这些数字如何统计

实测星标增长

24小时
+3
7天
+11
15天
+27
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Proton VPN GTK app

Copyright (c) 2023 Proton AG

This repository holds the Proton VPN GTK app. For licensing information see COPYING and LICENSE. For contribution policy see CONTRIBUTING.

Description

The Proton VPN GTK app is intended for every Proton VPN service user, it provides full access to all functionalities available to authenticated users, with the user signup process handled on the website.

Cloning

Once you've cloned this repo, run:

git submodule update --init --recursive

to clone the necessary submodule.

Installation

You can get the latest stable release from our Proton VPN official website.

Dependencies

For development purposes (within a virtual environment) see the required packages in the setup.py file, under install_requires and extra_require. As of now these packages will not be available on pypi. Also see Virtual environment below.

Virtual environment

If you didn't do it yet, to be able to pip install Proton VPN components you'll need to set up our internal Python package registry. You can do so running the command below, after replacing {GITLAB_TOKEN} with your personal access token with the scope set to api.

pip config set global.index-url https://__token__:{GITLAB_TOKEN}@{GITLAB_INSTANCE}/api/v4/groups/{GROUP_ID}/-/packages/pypi/simple

You can create the virtual environment and install the rest of dependencies as follows:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

GUI application

App logs are stored under ~/.cache/Proton/VPN/logs/ directory.

User settings are under ~/.config/Proton/VPN/ directory.

Folder structure

Folder "debian"

Contains all debian related data, for easy package compilation.

Folder "rpmbuild"

Contains all rpm/fedora related data, for easy package compilation.

Folder "proton/app/gtk"

This folder contains the gtk app source code.

Folder "tests"

This folder contains unit/integrations test code.

You can run the integration tests with:

behave tests/integration/features

On headless systems, it's possible to run the integration tests using Xvfb (virtual framebuffer X server). On Debian-based distributions, you just have to install the xvfb package. After that, you can run the integration tests with:

xvfb-run -a behave integration_tests/features

Versioning

Don't edit versions.yml in merge requests.

  • develop builds: CI stamps <next release>rc<UTC timestamp>, e.g. 4.18.8rc202610060949 (scripts/devtools/dev_version.py). Never committed.
  • releases: release MR writes the entry from commit subjects since the previous release (scripts/devtools/release_version.py): feat!: → major, feat: → minor, fix:, chore:, i18n: and other conventional types → patch.

scripts/create_changelogs.py generates debian/changelog, the rpm spec and CHANGELOG.md from versions.yml.

探索相关项目

加载中…