Feat: Add MtProxy (Telegram)

This commit is contained in:
dranik
2026-05-04 19:16:48 +03:00
parent 009ca981d5
commit 485d0c848a
50 changed files with 3960 additions and 29 deletions
@@ -45,6 +45,9 @@ ListViewType {
PageController.goToPage(PageEnum.PageProtocolRaw)
} else if (isDns) {
PageController.goToPage(PageEnum.PageServiceDnsSettings)
} else if (isMtProxy) {
MtProxyConfigModel.updateModel(config)
PageController.goToPage(PageEnum.PageServiceMtProxySettings)
} else {
InstallController.updateProtocols(ServersUiController.processedIndex, containerIndex)
PageController.goToPage(PageEnum.PageSettingsServerProtocol)
@@ -31,6 +31,9 @@ ListViewType {
function triggerCurrentItem() {
var item = root.itemAtIndex(selectedIndex)
if (!item) {
return
}
item.selectable.clicked()
}
File diff suppressed because it is too large Load Diff
+4 -2
View File
@@ -132,9 +132,11 @@ PageType {
onInstallationErrorOccurred(message)
}
function onUpdateContainerFinished(message) {
function onUpdateContainerFinished(message, closePage) {
PageController.showNotificationMessage(message)
PageController.closePage()
if (closePage) {
PageController.closePage()
}
}
function onCachedProfileCleared(message) {
+1
View File
@@ -78,6 +78,7 @@
<file>Pages2/PageProtocolWireGuardSettings.qml</file>
<file>Pages2/PageProtocolXraySettings.qml</file>
<file>Pages2/PageServiceDnsSettings.qml</file>
<file>Pages2/PageServiceMtProxySettings.qml</file>
<file>Pages2/PageServiceSftpSettings.qml</file>
<file>Pages2/PageServiceSocksProxySettings.qml</file>
<file>Pages2/PageServiceTorWebsiteSettings.qml</file>