hiddify / HiddifyClashDesktop

Clash Meta GUI for Windows, macOS and Linux.
GNU General Public License v3.0
156 stars 21 forks source link

HiddifyClashDesktop 13.1.4 can not be lunched on ubuntu 20.04 #17

Open smrrazavian opened 1 year ago

smrrazavian commented 1 year ago

I can not run it' I click on the icon and get no response. I also tried 13.1.3 but it was the same.

imans777 commented 1 year ago

same

salehirandom commented 1 year ago

It seems to be compiled on 22.04 and thus doesn't work in 20.04. Although the 20.04 is still alive

I think we should build it but I have a problem with rust cargo!

root@96165549cd39:/app# yarn build
yarn run v1.22.19
$ tauri build
     Running beforeBuildCommand `yarn run web:build`
$ tsc && vite build
vite v3.2.6 building for production...
✓ 13449 modules transformed.
../dist/assets/logo.2f2def71.ico                     99.99 KiB
../dist/assets/logo.c7776a68.svg                     1.18 KiB
../dist/assets/Vazirmatn-Thin.fa5ff0c3.woff2         49.61 KiB
../dist/assets/Vazirmatn-ExtraLight.77efc8bd.woff2   50.07 KiB
../dist/assets/Vazirmatn-Light.a3aa104f.woff2        49.98 KiB
../dist/assets/Vazirmatn-Medium.3333e311.woff2       49.93 KiB
../dist/assets/Vazirmatn-Regular.e3821013.woff2      49.50 KiB
../dist/assets/Vazirmatn-Bold.836fae7d.woff2         49.82 KiB
../dist/assets/Vazirmatn-SemiBold.6a39a3c2.woff2     49.84 KiB
../dist/assets/Vazirmatn-ExtraBold.cd67558b.woff2    49.92 KiB
../dist/assets/Vazirmatn-Black.e65a0552.woff2        49.38 KiB
../dist/assets/codicon.71cccbf1.ttf                  70.80 KiB
../dist/index.html                                   2.26 KiB
../dist/assets/yaml.dcee271a.js                      4.18 KiB / gzip: 1.60 KiB
../dist/assets/javascript.d76380ae.js                6.57 KiB / gzip: 2.36 KiB
../dist/assets/index.934bb6bd.css                    43.76 KiB / gzip: 7.85 KiB
../dist/assets/index.4b107f73.js                     2972.86 KiB / gzip: 818.09 KiB

(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
       Error failed to get project out directory: failed to get cargo metadata: cargo metadata command exited with a non zero exit code: error: failed to parse manifest at `/app/src-tauri/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
root@96165549cd39:/app# 

Dockerfile for building is really helpful.

Nasi-ChildOf-Desert commented 5 months ago

Hi Hiddify doesnt work in Ubuntu 20.04.6 LTS