Skip to content

Conversation

@MamaShip
Copy link

@MamaShip MamaShip commented Feb 11, 2023

Adding latest Xray version by running script get_latest.sh in xray directory.

Using UPX 4.0.2

[Notice] The compressed executable files are slightly larger than previous version:

~/fancyss/binaries/xray# ls -alh v1.7.5/
total 16M
drwxr-xr-x 2 root root 4.0K Feb 12 01:07 .
drwxr-xr-x 6 root root 4.0K Feb 12 01:07 ..
-rw-r--r-- 1 root root  135 Feb 12 01:07 md5sum.txt
-rwxr-xr-x 1 root root 5.4M Jan  1 08:00 xray_arm64
-rwxr-xr-x 1 root root 5.2M Jan  1 08:00 xray_armv5
-rwxr-xr-x 1 root root 5.2M Jan  1 08:00 xray_armv7

~/fancyss/binaries/xray# ls -alh v1.6.0
total 14M
drwxr-xr-x 2 root root 4.0K Feb 12 00:43 .
drwxr-xr-x 6 root root 4.0K Feb 12 01:07 ..
-rw-r--r-- 1 root root  135 Feb 12 00:43 md5sum.txt
-rwxr-xr-x 1 root root 4.7M Feb 12 00:43 xray_arm64
-rwxr-xr-x 1 root root 4.6M Feb 12 00:43 xray_armv5
-rwxr-xr-x 1 root root 4.5M Feb 12 00:43 xray_armv7

@linw89
Copy link

linw89 commented May 18, 2023

Hi there, I was wondering if anyone could explain a step by step process on how to run "get_latest.sh" so i can update my xray 1.6.0 to 1.7.5 please? Thank you

@MamaShip
Copy link
Author

Hi there, I was wondering if anyone could explain a step by step process on how to run "get_latest.sh" so i can update my xray 1.6.0 to 1.7.5 please? Thank you

  1. make sure your Linux server has proper network environment
  2. clone this repo and find the get_latest.sh script in binaries/xray/
  3. run the script unless it fails due to missing dependencies - install the missing one, like upx
  4. rerun the script, it should outputs the result file to the binaries/xray/v1.7.5 directory (the name of version may change)

I rely solely on memory to provide the above process. It may not be fully comprehensive.

I would recommend that you directly obtain the precompiled binaries from this PR.

@MamaShip
Copy link
Author

Meanwhile, I also suggest that you consider using other software to implement network proxy, as it seems that the author of Fancyss has stopped maintaining this project.

@linw89
Copy link

linw89 commented May 19, 2023

Thank you for the kind reply, I'm a bit new at this but could you tell me after i get the latest "get_latest.sh" from the binaries how do i actually upload it to my router or software?

@MamaShip
Copy link
Author

MamaShip commented May 19, 2023

Thank you for the kind reply, I'm a bit new at this but could you tell me after i get the latest "get_latest.sh" from the binaries how do i actually upload it to my router or software?

The get_latest.sh script is not for router users to update xray version. It's for Fancyss maintainer to provide the higher xray version.

You can wait for this PR to be merged. Then you can use [upgrade] button on your router's Fancyss admin page to upgrade xray version.

If you still want to manually update the xray version on your router, you can try connecting to the router by SSH and use the command find / -name xray to locate the software. Then, replace the old one with the new binary you have.
I believe the execution details of this process go beyond the scope of our discussion. Please proceed with caution, and remember to back up your files.

@hq450 hq450 closed this Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants