Меню выбора иконок, работа хоткеев в Manage Subscription URLs - #1
Open
xdshkaaa wants to merge 6 commits into
Open
Меню выбора иконок, работа хоткеев в Manage Subscription URLs#1xdshkaaa wants to merge 6 commits into
xdshkaaa wants to merge 6 commits into
Conversation
Agent app had no main menu, so text editing key equivalents were dead. Install a hidden Edit menu at launch to enable paste/copy/select-all.
Some providers (e.g. connliberty) serve full Xray client configs as JSON instead of vless:// links or base64. Extract VLESS outbounds (address, port, uuid, flow, reality/tls stream settings) and synthesize vless:// URIs so the existing pipeline handles them unchanged.
Add Change Icon submenu with 10 selectable SF Symbols icons. Selection persists in state.json (menuBarIcon, default star.fill) and applies immediately. Text fallback on macOS < 11.
Remove decodeXrayJSON and its call in parse(); subscriptions are parsed from vless:// links and base64 payloads only.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
изменения
меню «Change Icon» для иконки в строке меню
state.jsonХоткеи Cmd+C/V/X/A в диалоге «Manage Subscription URLs»
Сборка: отключены библиотеки совместимости Swift runtime
В вызов
swiftcвbuild_back_to_ussr_app.commandдобавлен флаг, отключающий линковку Swift runtime compatibilityЗатронутые файлы
src/main.swift- меню иконок + хоткеиbuild_back_to_ussr_app.command- флаг сборки (без этой шляпы у меня билд не работал)tested on ARM macOS