Skip to content

Commit

Permalink
Merge pull request #12 from gorouflex/main
Browse files Browse the repository at this point in the history
ver 0.1.5
  • Loading branch information
gorouflex authored Feb 28, 2024
2 parents 1ba1894 + eac9c79 commit a1e44d9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
env:
TAG: ${{ env.TAG }}

- name: Calculate SHA256 hash
run: |
echo "$(shasum -a 256 UXTU4Mac/UXTU4Mac.py | awk '{print $1}')" > Hash.txt
- name: Push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add Hash.txt
git commit -m "Hash update"
git push
- id: generate-notes
name: Generate Release Notes
shell: bash
Expand Down
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.1.5]

- Fix a lot of bug related to `Settings` and other sections
- Default sleep time now `10`s instead of `3`s
- New Time Sleep settings under `Settings` to set sleep time
- Improve handling about user option

## [0.1.4]

- Enhance FIP, more secure and safe
Expand Down
2 changes: 1 addition & 1 deletion Hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cca09185ce7da4133fd4fd0f2c4cf7a2cd563e98a1d632c697f8e7aa116bc2c7
766a5f631685636faba31203f656009d8205445d7d6a6b46f9915336cbe84fc9
10 changes: 7 additions & 3 deletions UXTU4Mac/UXTU4Mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,10 +588,12 @@ def run_updater():
changelog = get_changelog()
logging.info("--------- UXTU4Mac Software Update ---------")
logging.info("A new update is available!")
logging.info(f"Changelog for the latest version ({get_latest_ver}):\n" + changelog)
logging.info(
f"Changelog for the latest version ({get_latest_ver}):\n{changelog}"
)
logging.info("Do you want to update? (y/n): ")
choice = input("Option: ").lower()

if choice == "y":
subprocess.run(["python3", "Assets/Updater.py"])
logging.info("Update complete. Restarting the application, please close this window...")
Expand Down Expand Up @@ -681,7 +683,9 @@ def info():
elif choice == "2":
clr_print_logo()
changelog = get_changelog()
logging.info(f"Changelog for the latest version ({get_latest_ver}):\n" + changelog)
logging.info(
f"Changelog for the latest version ({get_latest_ver}):\n{changelog}"
)
input("Press Enter to continue...")
elif choice.lower() == "f":
run_updater()
Expand Down

0 comments on commit a1e44d9

Please sign in to comment.