Skip to content

Commit f420251

Browse files
committed
2 parents ae1c813 + 1aa4fd3 commit f420251

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 tansen
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

src_py/config/config.py

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
'''
2-
Author: tansen
3-
Date: 2024-02-15 17:13:46
4-
LastEditors:
5-
LastEditTime: 2024-02-15 21:58:09
6-
'''
7-
#!/usr/bin/env python3
8-
# -*- coding: utf-8 -*-
9-
'''
102
Description: 配置文件
113
usage:
12-
from pyapp.config.config import Config
4+
from src_py.config.config import Config
135
print(Config.rootDir)
146
'''
157

168
import os
9+
import sys
1710
import getpass
1811
import platform
19-
import sys
2012

2113

2214
class Config:
@@ -25,13 +17,13 @@ class Config:
2517
##
2618
# 程序基础配置信息
2719
##
28-
appName = 'pywebview-toolkit' # 应用名称
29-
appNameEN = 'pywebview-toolkit' # 应用名称-英文(用于生成缓存文件夹,必须是英文)
20+
appName = 'pywebview-vue3-template' # 应用名称
21+
appNameEN = 'pywebview-vue3-template' # 应用名称-英文(用于生成缓存文件夹,必须是英文)
3022
appVersion = "V1.0.0" # 应用版本号
3123
appDeveloper = "tansen" # 应用开发者
32-
appBlogs = "https://github.com/tansen87" # 个人博客
33-
appPackage = 'pywebview-toolkit' # 应用包名,用于在本地电脑生成 pywebview-toolkit.ppx 唯一文件夹
34-
appUpdateUrl = 'https://github.com/tansen87' # 获取程序更新信息 https://api.github.com/repos/pangao1990/ppx/releases/latest
24+
appBlogs = "https://github.com/tansen87" # github
25+
appPackage = 'pywebview-vue3-template' # 应用包名,用于在本地电脑生成 pywebview-toolkit.ppx 唯一文件夹
26+
appUpdateUrl = 'https://github.com/tansen87'
3527
appISSID = '56CD5B56-61AB-8E1A-DB2D-3311562E5350' # Inno Setup 打包唯一编号。在执行 pnpm run init 之前,请设置为空,程序会自动生成唯一编号,生成后请勿修改!!!
3628

3729
##

0 commit comments

Comments
 (0)