refactor: Update luci-app-podkop package

* Removed direct package manager calls
* Removed commands related to optional luci package
* Update external global_check call with version pass
* Removed useless external calls in version check cases
* Improved build process support: version will be automatically set at installation time from package metadata and will be readable from JS as constant
This commit is contained in:
SaltyMonkey
2025-10-08 22:09:48 +03:00
parent 6ff543d7fb
commit 28aeb29c51
4 changed files with 19 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ export const STATUS_COLORS = {
WARNING: '#ff9800',
};
export const PODKOP_LUCI_APP_VERSION = '__COMPILED_VERSION_VARIABLE__';
export const FAKEIP_CHECK_DOMAIN = 'fakeip.podkop.fyi';
export const IP_CHECK_DOMAIN = 'ip.podkop.fyi';