Skip to content

Commit e110a4c

Browse files
committed
feat: not working in lubuntu 24.04
1 parent 5d6ce43 commit e110a4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/linux/installer.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ download_and_install_gtk() {
292292
# - This piece of code should only be executed if the package manager does not distribute
293293
# libgtk or if the version provided by the package manager is not compatible with Phoenix Code.
294294

295-
local GTK_URL="https://github.com/phcode-dev/dependencies/releases/download/v1.0.0/gtk.tar.xz"
296-
local WEBKIT2GTK_URL="https://github.com/phcode-dev/dependencies/releases/download/v1.0.0/webkit2gtk-4.0.tar.xz"
295+
local GTK_URL="https://github.com/phcode-dev/dependencies/releases/download/v1.0.1/gtk.tar.xz"
296+
local WEBKIT2GTK_URL="https://github.com/phcode-dev/dependencies/releases/download/v1.0.1/webkit2gtk-4.0.tar.xz"
297297

298298
echo -e "${YELLOW}Downloading GTK from $GTK_URL...${RESET}"
299299
local destination="$TMP_DIR/$BINARY_NAME"
@@ -371,14 +371,14 @@ create_launch_script_with_gtk() {
371371
local binary_path="$1"
372372
local binary_name="$BINARY_NAME"
373373

374-
local realBin="$binary_path/$binary_name.real"
374+
local realBin="$binary_path/$binary_name.app"
375375
mv "$binary_path/$binary_name" "$realBin"
376376
echo "Creating a launch script for Phoenix Code with GTK libraries..."
377377
cat > "$binary_path/$binary_name" <<EOF
378378
#!/bin/bash
379379
SCRIPT_DIR=\$(dirname "\$(readlink -f "\$0")")
380380
export LD_LIBRARY_PATH=\$SCRIPT_DIR/gtk:\$LD_LIBRARY_PATH
381-
exec \$SCRIPT_DIR/$binary_name.real "\$@"
381+
exec \$SCRIPT_DIR/$binary_name.app "\$@"
382382
EOF
383383
chmod +x "$binary_path/$binary_name"
384384

0 commit comments

Comments
 (0)