Then maybe writing a script that downlaods the binary on the user's system is the correct thing to do for both vscode and edge
openmamba has already a project called netsrpms which provides support for local download and RPM packaging of components which cannot be distributed. Adding support for vscode and edge is now in my TODO list.
Additionaly, code can be installed by following the same instructions for RPM based distributions on this page . A Microsoft dnf repository is set and will provide the updates, this is the way Skype could be used until it was dismissed.
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
echo -e "nname=Visual Studio Codenbaseurl= https://packages.microsoft.com/yumrepos/vscodenenabled=1nautorefresh=1ntype=rpm-mdngpgcheck=1ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
sudo dnf install code
You may need to remove visual-studio-code-bin before to avoid conflicts.
Edge is currently only distributed in .deb format so the above mechanism is not applicable.
Edge is actually available as rpm here, however I do not like how it is packaged.

