-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76f6497
commit 913fda2
Showing
56 changed files
with
772 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
## 开发环境 Flag 配置文件 | ||
|
||
# 禁用刷新 | ||
VITE_FLAG_DISABLE_REFRESH = false | ||
# 禁用历史 | ||
VITE_FLAG_DISABLE_HISTORY = true | ||
# 禁用开发者工具 | ||
VITE_FLAG_DISABLE_DEVTOOLS = false | ||
|
||
# 启动音效 | ||
VITE_FLAG_LAUNCH_SOUND = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
FLAG_DISABLE_REFRESH = true | ||
FLAG_DISABLE_HISTORY = true | ||
FLAG_DISABLE_DEVTOOLS = true | ||
## 生产环境 Flag 配置文件 | ||
|
||
# 禁用刷新 | ||
VITE_FLAG_DISABLE_REFRESH = true | ||
# 禁用历史 | ||
VITE_FLAG_DISABLE_HISTORY = true | ||
# 禁用开发者工具 | ||
VITE_FLAG_DISABLE_DEVTOOLS = true | ||
|
||
# 启动音效 | ||
VITE_FLAG_LAUNCH_SOUND = true |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: 'Publish App' | ||
|
||
on: | ||
push: | ||
branches: | ||
- build/dev | ||
- build/beta | ||
- build/release | ||
|
||
# This workflow will trigger on each push to the build branchs to create or update a GitHub release, build your app, and upload the artifacts to the release. | ||
|
||
jobs: | ||
publish-tauri: | ||
permissions: | ||
contents: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- platform: 'macos-latest' # for Arm based macs (M1 and above). | ||
args: '--target aarch64-apple-darwin' | ||
- platform: 'macos-latest' # for Intel based macs. | ||
args: '--target x86_64-apple-darwin' | ||
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. | ||
args: '' | ||
- platform: 'windows-latest' | ||
args: '' | ||
|
||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: install Rust Nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. | ||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} | ||
|
||
- name: install dependencies (ubuntu only) | ||
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf | ||
# webkitgtk 4.1 is for Tauri v2. | ||
|
||
- name: install frontend dependencies | ||
run: | # change this to npm, pnpm or bun depending on which one you use. | ||
npm install -g pnpm | ||
pnpm install | ||
- uses: tauri-apps/tauri-action@v0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tagName: __VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. | ||
releaseName: __VERSION__ | ||
releaseBody: 'See the assets to download this version and install.' | ||
releaseDraft: true | ||
prerelease: false | ||
args: ${{ matrix.args }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ package-lock.json | |
pnpm-lock.yaml | ||
yarn.lock | ||
|
||
# user-specifc:wuliaodexiaoluo | ||
# Local Files | ||
taupd.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
1. 尊重与包容 | ||
我们鼓励所有成员互相尊重,无论其背景、性别、种族、宗教、性取向、经验水平或身份。每个成员都应该在尊重他人的前提下进行交流和互动。 | ||
|
||
2. 零容忍骚扰 | ||
任何形式的骚扰,包括但不限于恶意评论、辱骂、歧视性言论、骚扰行为等,都是不被接受的。我们致力于创建一个没有恐惧和歧视的环境。所有的成员都应感到安全、受尊重。 | ||
|
||
3. 专业交流 | ||
我们鼓励清晰、友好、建设性的交流。请确保你的言辞礼貌、专业并且富有同理心。对于不同意见,尊重对方的观点并以开放的心态进行讨论。 | ||
|
||
4. 保持公开透明 | ||
我们鼓励成员之间进行透明的沟通,尤其是在决定如何改进项目或解决问题时。任何工作进展、决策和问题应尽可能公开,并且在适当的情况下向社区汇报。 | ||
|
||
5. 安全与隐私 | ||
请不要发布任何可能侵犯他人隐私的内容,包括但不限于个人信息、私人对话或未经授权的敏感数据。尊重每个人的隐私权和自由。 | ||
|
||
6. 遵守法律与平台政策 | ||
所有成员必须遵守适用的法律法规,以及所在平台(如 GitHub、QQ 等)或社区的使用政策。 | ||
|
||
7. 反对恶意行为 | ||
任何形式的恶意攻击、垃圾邮件、广告推广或其他不正当行为都不被允许。这包括针对他人的虚假陈述、恶意破坏等。 | ||
|
||
8. 处理冲突 | ||
如果你目睹或成为行为不当的受害者,请通过以下方式处理冲突: | ||
|
||
- 直接与相关方沟通,尽量解决问题。 | ||
- 如果问题无法解决,请联系项目维护者或管理者。 | ||
- 项目维护者将会遵循公开透明的程序来解决问题。 | ||
|
||
9. 违规行为处理 | ||
对于违反行为准则的行为,项目维护者有权采取以下措施: | ||
|
||
- 警告并要求改正行为。 | ||
- 暂时禁言或移除访问权限。 | ||
- 永久禁言或封禁账号,视情况而定。 | ||
|
||
10. 联系方式 | ||
如果你有任何问题或需要报告行为问题,请通过以下方式与我们联系: | ||
|
||
邮箱: [email protected] | ||
聊天平台: https://qm.qq.com/q/2JmrfMPbi8 | ||
我们鼓励大家共同维护一个友好、开放、健康的社区环境! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"$schema": "https://schema.tauri.app/config/2", | ||
"productName": "Plain Craft Launcher 2 Nova Dev", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"identifier": "nova.pcl2.app", | ||
"build": { | ||
"devUrl": "http://localhost:1420", | ||
|
@@ -27,6 +27,12 @@ | |
"bundle": { | ||
"active": true, | ||
"targets": "all", | ||
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/[email protected]", "icons/icon.icns", "icons/icon.ico"] | ||
"icon": [ | ||
"icons/32x32.png", | ||
"icons/128x128.png", | ||
"icons/[email protected]", | ||
"icons/icon.icns", | ||
"icons/icon.ico" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ | |
</section> | ||
</template> | ||
|
||
<style lang="scss" scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,3 @@ | |
|
||
--color-btn-hover: #0007; | ||
} | ||
|
||
* { | ||
user-select: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"channel": "Dev" | ||
} |
Oops, something went wrong.