From 146d95205d3cdb77fa3a0482a3fde997835cbe2c Mon Sep 17 00:00:00 2001 From: Hiddify-com Date: Fri, 9 Feb 2024 16:04:48 +0100 Subject: [PATCH] new: add custom AppRun: need forked distributor --- linux/packaging/appimage/AppRun | 9 +++++++++ linux/packaging/appimage/make_config.yaml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 linux/packaging/appimage/AppRun diff --git a/linux/packaging/appimage/AppRun b/linux/packaging/appimage/AppRun new file mode 100644 index 00000000..0133767f --- /dev/null +++ b/linux/packaging/appimage/AppRun @@ -0,0 +1,9 @@ +#!/bin/bash + +cd "\$(dirname "\$0")" +export LD_LIBRARY_PATH=usr/lib +if [ $1 == "HiddifyService" ];then + exec ./$@ +else + exec ./$appName $@ +fi diff --git a/linux/packaging/appimage/make_config.yaml b/linux/packaging/appimage/make_config.yaml index 73a36cac..684704e8 100644 --- a/linux/packaging/appimage/make_config.yaml +++ b/linux/packaging/appimage/make_config.yaml @@ -29,6 +29,9 @@ categories: startup_notify: true +app_run_content: " +Hi +" # You can specify the shared libraries that you want to bundle with your app # # flutter_distributor automatically detects the shared libraries that your app