Skip to content

Commit

Permalink
v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
URenko committed Mar 10, 2024
1 parent 89235b3 commit 7dbdf11
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: windows-2022
steps:
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install pyinstaller dnspython[doh,doq] rich
Expand All @@ -26,7 +26,7 @@ jobs:
pyinstaller accesser.spec
env:
PYTHONOPTIMIZE: 1
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: windows
path: ./dist/
Expand All @@ -35,11 +35,11 @@ jobs:
runs-on: windows-2022
steps:
- name: Setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: x64
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pip install pyinstaller
Expand All @@ -50,7 +50,7 @@ jobs:
pyinstaller accesser.spec
env:
PYTHONOPTIMIZE: 1
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: windows-lite
path: ./dist/
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -13,6 +13,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
python-version: ">=3.11"
- run: |
python3 -c 'import tomllib; tomllib.load(open("accesser/config.toml", "rb"))'
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -70,7 +70,7 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down
2 changes: 1 addition & 1 deletion README.en.md
Expand Up @@ -14,7 +14,7 @@ Because the main users of this project are in mainland China, you may encounter

## Usage
### If you don't know what Python is
Download Windows executable program from [here](https://github.com/URenko/Accesser/releases/download/v0.9.1/accesser.exe) and run it. The first time you use it, you will be asked to install a certificate, just select yes.
Download Windows executable program from [here](https://github.com/URenko/Accesser/releases/download/v0.9.2/accesser.exe) and run it. The first time you use it, you will be asked to install a certificate, just select yes.
### If Python 3.10* or later is already installed
```
pip3 install -U "accesser[doh,doq]"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -11,7 +11,7 @@

## 使用
### 如果不知道什么是Python
[这里](https://github.com/URenko/Accesser/releases/download/v0.9.1/accesser.exe)下载Windows一键程序,运行既可(建议关闭其他代理软件),首次使用会要求安装证书,选是即可。
[这里](https://github.com/URenko/Accesser/releases/download/v0.9.2/accesser.exe)下载Windows一键程序,运行既可(建议关闭其他代理软件),首次使用会要求安装证书,选是即可。
### 如果已经安装了Python 3.10*或更高版本
```
pip3 install -U "accesser[doh,doq]"
Expand Down
4 changes: 2 additions & 2 deletions accesser/__init__.py
Expand Up @@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

__version__ = '0.9.1'
__version__ = '0.9.2'

import os, sys
import json
Expand Down Expand Up @@ -204,7 +204,7 @@ def update_checker():

async def main():
global context, cert_store, cert_lock, DNSresolver
print(f"Accesser v{__version__} Copyright (C) 2018-2023 URenko")
print(f"Accesser v{__version__} Copyright (C) 2018-2024 URenko")
setting.parse_args()

DNSresolver = dns.asyncresolver.Resolver(configure=False)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "accesser"
version = "0.9.1"
version = "0.9.2"
authors = [
{ name="URenko" },
]
Expand Down

0 comments on commit 7dbdf11

Please sign in to comment.