mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-29 03:46:58 +08:00
fix(electron): hotfix update logic
- Added ky as a dependency to handle HTTP requests for file downloads. - Implemented downloadFileWithProgress function to provide progress updates during downloads. - Updated hot-updater to utilize the new download function, enhancing user experience with download status logging. - Cleaned up and refactored related code for better maintainability. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -5,9 +5,6 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
|
||||
jobs:
|
||||
create_tag:
|
||||
name: Create Release Tag
|
||||
@@ -20,21 +17,19 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: "npm"
|
||||
node-version: lts/*
|
||||
|
||||
- name: Make script executable
|
||||
run: chmod +x .github/scripts/extract-release-info.js
|
||||
run: |
|
||||
chmod +x .github/scripts/extract-release-info.mjs
|
||||
|
||||
- name: Extract release information
|
||||
id: extract_info
|
||||
run: ./.github/scripts/extract-release-info.mjs
|
||||
run: .github/scripts/extract-release-info.mjs
|
||||
continue-on-error: false
|
||||
|
||||
- name: Validate git configuration
|
||||
|
||||
Reference in New Issue
Block a user