Custom protocol redesign #432
majkinetor
started this conversation in
Ideas
Replies: 2 comments 8 replies
-
@VShawn, comments please :) |
Beta Was this translation helpful? Give feedback.
4 replies
-
So I see you did harder option. Where is the app definition stored? I see that when I type wfreerdp.exe, CLI definition pops up. I know its preliminary but here are some bugs:
Also, I think this is spam Also, what does Protocol mean ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, we have custom protocols that can be defined per connection category. Also, we have App connection type which is almost exactly the same as protocol.
details
Protocols:
App:
I don't think this is good for two reasons:
There is no particular distinction between protocol and app:
The main idea
Remove protocols and make App better.
Option 1
Easy option: remove protocols completely without adding anything new except small changes to App "connection":
Regarding this option:
HOSTNAME
,PORT
,USERNAME
andPASSWORD
(HPUP) must be added via command lineHOSTNAME
is set, we can run availability detection againIn summary, this is easy to achieve and will make app less complex. To implement:
Option 2
Complex option: Predefine some applications, similar to what we have now with protocols:
Details
Definition
name [string, mandatory]
cmd [string, mandatory]
path [string, optional]
$Env:PATH
which is always includedenvironment [string, optional]
ENV=VALUE
hosting [bool, default: true]
elevated [bool, default: false]
helpUrl [string, optional]
flags [array[object], optional]
name [string, mandatory]
- Name of the argument (and env. var that 1RM will use to pass value)format [string, mandatory]
- Format of the CLI expressionmandatory [bool]
- Is this CLI parameter mandatoryhelp [string]
- Help tiphostname: true
We could have extra fields in definition, such as Icon URL, flag type, name on multiple languages etc... all are trivial to add any time.
The purpose of this is to be able to share tools like now (and maybe even have a list of officially pre-added tools) and to make adding new App more user friendly instead of just having one Cmd Paramter field. Yes, its some work, although not much but makes it more professional and its IMO much better for end users because they will either get definition from the Internet or it will come included eventually with 1RM.
Example:
New App
HelpUrl
if it existscmd
attributeMockup:
Links and related:
Beta Was this translation helpful? Give feedback.
All reactions