Skip to content

Commit

Permalink
HorizonUnix
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex committed Jun 27, 2024
1 parent 713e6ad commit 715c873
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [0.3.02]

- Moved from `AppleOSX` to @HorizonUnix
## [0.3.01]

## General
Expand Down
2 changes: 1 addition & 1 deletion Linux/Assets/SU.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os, urllib.request, zipfile, shutil, subprocess

def update():
url = "https://github.com/AppleOSX/UXTU4Unix/releases/latest/download/Linux.zip"
url = "https://github.com/HorizonUnix/UXTU4Unix/releases/latest/download/Linux.zip"
script_dir = os.path.dirname(os.path.realpath(__file__))
current_dir = os.path.dirname(os.path.dirname(script_dir))
current_folder = os.path.join(current_dir, "UXTU4Unix")
Expand Down
10 changes: 5 additions & 5 deletions Linux/UXTU4Unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import urllib.request, json, select
from configparser import ConfigParser

LOCAL_VERSION = "0.3.01"
LATEST_VERSION_URL = "https://github.com/AppleOSX/UXTU4Unix/releases/latest"
GITHUB_API_URL = "https://api.github.com/repos/AppleOSX/UXTU4Unix/releases/latest"
LOCAL_VERSION = "0.3.02"
LATEST_VERSION_URL = "https://github.com/HorizonUnix/UXTU4Unix/releases/latest"
GITHUB_API_URL = "https://api.github.com/repos/HorizonUnix/UXTU4Unix/releases/latest"
current_dir = os.path.dirname(os.path.realpath(__file__))
os.makedirs(f'{current_dir}/Logs', exist_ok=True)
logging.basicConfig(filename=f'{current_dir}/Logs/UXTU4Unix.log', filemode='w', encoding='utf-8',
Expand Down Expand Up @@ -59,7 +59,7 @@ def clear():
logging.info(f' {cpu} ({family})')
if cfg.get('Settings', 'Debug', fallback='0') == '1':
logging.info(f" Loaded: {cfg.get('User', 'Preset',fallback = '')}")
logging.info(f" Version: {LOCAL_VERSION} by AppleOSX (Linux Edition)")
logging.info(f" Version: {LOCAL_VERSION} by HorizonUnix (Linux Edition)")
logging.info("")

def get_hardware_info(command, use_sudo=False):
Expand Down Expand Up @@ -644,7 +644,7 @@ def check_updates():

def about():
options = {
"1": lambda: webbrowser.open("https://www.github.com/AppleOSX/UXTU4Unix"),
"1": lambda: webbrowser.open("https://www.github.com/HorizonUnix/UXTU4Unix"),
"f": updater,
"b": "break",
}
Expand Down
2 changes: 1 addition & 1 deletion macOS/Assets/SU.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os, urllib.request, zipfile, shutil, subprocess

def update():
url = "https://github.com/AppleOSX/UXTU4Unix/releases/latest/download/macOS.zip"
url = "https://github.com/HorizonUnix/UXTU4Unix/releases/latest/download/macOS.zip"
script_dir = os.path.dirname(os.path.realpath(__file__))
current_dir = os.path.dirname(os.path.dirname(script_dir))
current_folder = os.path.join(current_dir, "UXTU4Unix")
Expand Down
10 changes: 5 additions & 5 deletions macOS/UXTU4Unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import urllib.request, plistlib, base64, json, select, signal
from configparser import ConfigParser

LOCAL_VERSION = "0.3.01"
LATEST_VERSION_URL = "https://github.com/AppleOSX/UXTU4Unix/releases/latest"
GITHUB_API_URL = "https://api.github.com/repos/AppleOSX/UXTU4Unix/releases/latest"
LOCAL_VERSION = "0.3.02"
LATEST_VERSION_URL = "https://github.com/HorizonUnix/UXTU4Unix/releases/latest"
GITHUB_API_URL = "https://api.github.com/repos/HorizonUnix/UXTU4Unix/releases/latest"
current_dir = os.path.dirname(os.path.realpath(__file__))
command_file = os.path.join(current_dir, 'UXTU4Unix.command')
command_file_name = os.path.basename(command_file)
Expand Down Expand Up @@ -61,7 +61,7 @@ def clear():
logging.info(f' {cpu} ({family})')
if cfg.get('Settings', 'Debug', fallback='0') == '1':
logging.info(f" Loaded: {cfg.get('User', 'Preset',fallback = '')}")
logging.info(f" Version: {LOCAL_VERSION} by AppleOSX (macOS Edition)")
logging.info(f" Version: {LOCAL_VERSION} by HorizonUnix (macOS Edition)")
logging.info("")

def get_hardware_info(command, use_sudo=False):
Expand Down Expand Up @@ -806,7 +806,7 @@ def check_updates():

def about():
options = {
"1": lambda: webbrowser.open("https://www.github.com/AppleOSX/UXTU4Unix"),
"1": lambda: webbrowser.open("https://www.github.com/HorizonUnix/UXTU4Unix"),
"f": updater,
"b": "break",
}
Expand Down

0 comments on commit 715c873

Please sign in to comment.