From 6ed959b23408b2179f6079141b838241df5f4372 Mon Sep 17 00:00:00 2001 From: AgentTechnoman <46273498+AgentTechnoman@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:19:22 -0700 Subject: [PATCH 1/2] Simplify Windows install command Simplified the installation script; though it assumes that PowerShell was launched as Administrator. --- Server/Components/Pages/Deploy.razor | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Server/Components/Pages/Deploy.razor b/Server/Components/Pages/Deploy.razor index 4971bf41..503199e2 100644 --- a/Server/Components/Pages/Deploy.razor +++ b/Server/Components/Pages/Deploy.razor @@ -283,8 +283,7 @@ private void SetScriptContent() { _windowsScript = - $"Invoke-WebRequest -Uri '{NavMan.BaseUri}api/ClientDownloads/WindowsInstaller/{_organizationId}' -OutFile \"${{env:TEMP}}\\Install-Remotely.ps1\" -UseBasicParsing;" + - "Start-Process -FilePath 'powershell.exe' -ArgumentList (\"-executionpolicy\", \"bypass\", \"-f\", \"${env:TEMP}\\Install-Remotely.ps1\") -Verb RunAs;"; + $"irm '{NavMan.BaseUri}api/ClientDownloads/WindowsInstaller/{_organizationId}'|iex"; _ubuntuScript = GetLinuxScript("UbuntuInstaller-x64"); @@ -334,4 +333,4 @@ } } -} \ No newline at end of file +} From ec0d45d8f83ee512e60306ce4ddefed6509bd903 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Tue, 17 Dec 2024 07:12:02 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index fec0d424..71107ebc 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,6 @@ A remote control and remote scripting solution, built with .NET, Blazor, and Sig [![Build Status](https://dev.azure.com/immybot/Remotely/_apis/build/status%2Fimmense.Remotely?branchName=master)](https://dev.azure.com/immybot/Remotely/_build/latest?definitionId=2&branchName=master) [![Tests](https://github.com/immense/Remotely/actions/workflows/run_tests.yml/badge.svg?branch=master)](https://github.com/immense/Remotely/actions/workflows/run_tests.yml) -## Looking for Maintainers - -I'm looking for maintainers to help me out! If you are a .NET dev and are interested in helping to keep Remotely moving forward, send me a DM on Discord at `jaredatimmy`. - ## Project Links Subreddit: https://www.reddit.com/r/remotely_app/