Skip to content

Commit

Permalink
1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LeafYeeXYZ committed Jul 21, 2024
1 parent 79a4019 commit 4a8b266
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
38 changes: 23 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
fail-fast: false
matrix:
build:
- name: 'windows-amd64'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'windows-arm64'
platform: 'windows/arm64'
os: 'windows-latest'
- name: 'mac-amd64'
platform: 'darwin/amd64'
os: 'macos-latest'
- name: 'mac-arm64'
# - name: 'windows-amd64'
# platform: 'windows/amd64'
# os: 'windows-latest'
# - name: 'windows-arm64'
# platform: 'windows/arm64'
# os: 'windows-latest'
# - name: 'mac-amd64'
# platform: 'darwin/amd64'
# os: 'macos-latest'
- name: 'Build'
platform: 'darwin/arm64'
os: 'macos-latest'

Expand Down Expand Up @@ -60,10 +60,18 @@ jobs:
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest

- name: Build Wails
run: wails build
run: wails build -platform windows/amd64,windows/arm64,darwin/amd64,darwin/arm64

- name: Upload Artifacts
uses: actions/upload-artifact@v4
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: ${{ matrix.build.name }}
path: build/bin/*
files: |
build/bin/*
draft: false
prerelease: true

# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.build.name }}
# path: build/bin/*
Binary file modified build/windows/icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function Content({ browserStatus, systemStatus, currentStatus, importantS
localStorage.setItem(key, String(value[key]))
}
}
localStorage.getItem('isRemember') === 'no' && localStorage.setItem('password', '') // 清除密码
localStorage.getItem('isRemember') === 'yes' || localStorage.setItem('password', '') // 清除密码

try {
// 发送开始抢课事件
Expand Down

0 comments on commit 4a8b266

Please sign in to comment.