Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
lilingfengdev committed Jun 9, 2024
1 parent df5ef5d commit b92b61e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
with:
python-version: "3.11"
- name: Install Dependencies
run: pip install pyyaml install-jdk tqdm psutil requests pygithub pyinstaller
run: |
if [ "${{ matrix.os }}" == "windows-latest" ]; then
python -m pip install pyyaml install-jdk tqdm psutil requests pygithub rtoml-0.10.0-cp311-none-win_amd64.whl pyinstaller
else
python -m pip install pyyaml install-jdk tqdm psutil requests pygithub rtoml pyinstaller
- name: Generate Bundle
run: |
python generate-bundle.py
Expand Down
5 changes: 1 addition & 4 deletions auto-antiseedcracker.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import os.path

from utils import *
try:
import tomllib as toml
except ModuleNotFoundError:
import rtoml as toml
import rtoml as toml

script_license()
print("开始配置!")
Expand Down
5 changes: 1 addition & 4 deletions auto-optimize.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import os.path
from utils import *
try:
import tomllib as toml
except ModuleNotFoundError:
import rtoml as toml
import rtoml as toml

script_license()

Expand Down

0 comments on commit b92b61e

Please sign in to comment.