You've already forked OneDriveGUI
mirror of
https://github.com/bpozdena/OneDriveGUI.git
synced 2026-10-24 04:59:17 +03:00
Update AppImage build script and requirements to support Python 3.12
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
# Step 1: Function to extract version from OneDriveGUI.py without importing
|
||||
get_version() {
|
||||
FILE_PATH="src/OneDriveGUI.py"
|
||||
VERSION=$(grep -Po '^__version__\s*=\s*"\K[^\"]+' "$FILE_PATH")
|
||||
FILE_PATH="src/options.py"
|
||||
VERSION=$(grep -Po '^version\s*=\s*"\K[^\"]+' "$FILE_PATH")
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "Failed to extract version from $FILE_PATH"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
PySide6_Essentials==6.2.2.1; python_version <= '3.7'
|
||||
requests==2.27.1; python_version <= '3.7'
|
||||
|
||||
PySide6_Essentials; python_version >= '3.8'
|
||||
requests; python_version >= '3.8'
|
||||
PySide6_Essentials==6.6.0; python_version >= '3.8'
|
||||
requests; python_version >= '3.8'
|
||||
urllib3<2.0
|
||||
|
||||
@@ -7,7 +7,7 @@ from settings.gui_settings import gui_settings
|
||||
client_bin_path = gui_settings.get("frameless_window")
|
||||
|
||||
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
client_bin_path = config_client_bin_path()
|
||||
client_version = get_installed_client_version(client_bin_path)
|
||||
global_config = create_global_config()
|
||||
|
||||
Reference in New Issue
Block a user