Skip to content

Commit

Permalink
追踪 chrome-bin 并设置 release 环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
niuniuland committed Dec 10, 2023
1 parent 15267ee commit db71397
Show file tree
Hide file tree
Showing 89 changed files with 79 additions and 13 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Release

on:
workflow_call:
inputs:
Expand All @@ -11,19 +12,18 @@ on:
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true

env:
VITE_APP_API: https://api.chromepower.xyz/api
VITE_APP_API: 'https://api.chromepower.xyz/api'
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }} # This should be set in the repository's secrets settings

defaults:
run:
shell: 'bash'


jobs:
draft_release:

permissions:
contents: write # Allows this job to create releases

Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions/checkout@v2 # Updated to use the latest stable version

- uses: actions/setup-node@v3
with:
Expand All @@ -48,7 +48,6 @@ jobs:
- run: npm run build

- name: Compile artifacts ${{ inputs.dry-run && '' || 'and upload them to github release' }}
# I use this action because it is capable of retrying multiple times if there are any issues with the distribution server
uses: nick-fields/retry@v2
with:
timeout_minutes: 15
Expand All @@ -58,9 +57,5 @@ jobs:
shell: 'bash'
command: ./node_modules/.bin/electron-builder --config .electron-builder.config.js --publish ${{ inputs.dry-run && 'never' || 'always' }}
env:
# Code Signing params
# See https://www.electron.build/code-signing
# CSC_LINK: ''
# CSC_KEY_PASSWORD: ''
# Publishing artifacts
GH_TOKEN: ${{ secrets.github_token }} # GitHub token, automatically provided (No need to define this secret in the repo settings)
# Add any other environment variables that are specific to this step, if necessary
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ thumbs.db

# Editor-based Rest Client
.idea/httpRequests
/.idea/csv-plugin.xml
Chrome-bin
/.idea/csv-plugin.xml
8 changes: 8 additions & 0 deletions Chrome-bin/119.0.6045.105/119.0.6045.105.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<assembly
xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<assemblyIdentity
name='119.0.6045.105'
version='119.0.6045.105'
type='win32'/>
<file name='chrome_elf.dll'/>
</assembly>
8 changes: 8 additions & 0 deletions Chrome-bin/119.0.6045.105/121.0.6142.0.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<assembly
xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<assemblyIdentity
name='121.0.6142.0'
version='121.0.6142.0'
type='win32'/>
<file name='chrome_elf.dll'/>
</assembly>
5 changes: 5 additions & 0 deletions Chrome-bin/119.0.6045.105/Extensions/external_extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// This json file will contain a list of extensions that will be included
// in the installer.

{
}
Binary file added Chrome-bin/119.0.6045.105/Locales/af.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/am.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ar-XB.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ar.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/bg.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/bn.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ca.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/cs.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/da.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/de.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/el.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/en-GB.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/en-US.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/en-XA.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/es-419.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/es.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/et.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/fa.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/fi.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/fil.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/fr.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/gu.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/he.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/hi.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/hr.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/hu.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/id.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/it.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ja.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/kn.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ko.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/lt.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/lv.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ml.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/mr.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ms.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/nb.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/nl.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/pl.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/pt-BR.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/pt-PT.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ro.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ru.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/sk.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/sl.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/sr.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/sv.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/sw.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ta.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/te.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/th.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/tr.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/uk.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/ur.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/vi.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/zh-CN.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/Locales/zh-TW.pak
Binary file not shown.
8 changes: 8 additions & 0 deletions Chrome-bin/119.0.6045.105/MEIPreload/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "MEI Preload",
"icons": {},
"version": "1.0.7.1652906823",
"manifest_version": 2,
"update_url": "https://clients2.google.com/service/update2/crx",
"description": "Contains preloaded data for Media Engagement"
}
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/VisualElements/Logo.png
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.
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/chrome.dll
Git LFS file not shown
Binary file added Chrome-bin/119.0.6045.105/chrome_100_percent.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/chrome_200_percent.pak
Binary file not shown.
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/chrome_elf.dll
Git LFS file not shown
Binary file added Chrome-bin/119.0.6045.105/chrome_pwa_launcher.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/chrome_wer.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/d3dcompiler_47.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/dxcompiler.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/dxil.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/eventlog_provider.dll
Git LFS file not shown
Binary file added Chrome-bin/119.0.6045.105/icudtl.dat
Binary file not shown.
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/libEGL.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/libGLESv2.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/mojo_core.dll
Git LFS file not shown
Binary file added Chrome-bin/119.0.6045.105/nacl_irt_x86_64.nexe
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/notification_helper.exe
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/resources.pak
Binary file not shown.
Binary file added Chrome-bin/119.0.6045.105/v8_context_snapshot.bin
Binary file not shown.
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/vk_swiftshader.dll
Git LFS file not shown
1 change: 1 addition & 0 deletions Chrome-bin/119.0.6045.105/vk_swiftshader_icd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"file_format_version": "1.0.0", "ICD": {"library_path": ".\\vk_swiftshader.dll", "api_version": "1.0.5"}}
3 changes: 3 additions & 0 deletions Chrome-bin/119.0.6045.105/vulkan-1.dll
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/chrome.exe
Git LFS file not shown
3 changes: 3 additions & 0 deletions Chrome-bin/chrome_proxy.exe
Git LFS file not shown

0 comments on commit db71397

Please sign in to comment.