Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfan0 committed Oct 30, 2024
1 parent dc8c61b commit 60e13e3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/beta.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- beta
- main
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
7 changes: 5 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ files:
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- ./resources/iconTemplate.png
- ./resources/index.html
- ./resources/*
win:
target:
- target: "nsis"
Expand All @@ -24,6 +23,8 @@ win:
to: "Resources"
- from: "./resources/index.html"
to: "Resources"
- from: "./resources/frpc/win/${arch}/frpc.exe"
to: "Resources"
nsis:
oneClick: false
artifactName: ${name}-${version}-${arch}.${ext}
Expand All @@ -50,6 +51,8 @@ mac:
to: "Resources"
- from: "./resources/index.html"
to: "Resources"
- from: "./resources/frpc/mac/${arch}/frpc"
to: "Resources"
dmg:
artifactName: ${name}-${version}-${arch}.${ext}
npmRebuild: false
Expand Down
Binary file added resources/frpc/mac/arm64/frpc
Binary file not shown.
Binary file added resources/frpc/mac/x64/frpc
Binary file not shown.
Binary file added resources/frpc/win/arm64/frpc.exe
Binary file not shown.
Binary file added resources/frpc/win/x64/frpc.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="UTF-8" />
<title>Electron</title>
<title>Fideo</title>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://api.xunhupay.com; connect-src 'self' https://xizhi.qqoq.net *;" />
Expand Down

0 comments on commit 60e13e3

Please sign in to comment.