Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PowerShell script for Windows installation #73

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Anshulgada
Copy link

This PR adds a PowerShell script (install-sendme.ps1) to allow Windows users to easily download and install the sendme tool, as well as add it to their PATH automatically.

Changes:

  • Added install-sendme.ps1 to the root directory for Windows installation.
  • Users can now install sendme by running a simple PowerShell command.
  • Edited the README to differentiate between download method for Linux/MacOS & WIndows

Notes:

  • This update is specifically for Windows users.
  • The script adds the sendme folder to the system PATH, which will allow running sendme from any terminal without specifying its full path.

Testing:
Tested the script on a Windows machine with the following outcomes:

  • Successfully downloaded and extracted the sendme executable.
  • Verified that the folder was added to the system PATH.
  • Confirmed that running the sendme command from anywhere worked as expected.

New Installation Command (Once merged):

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/n0-computer/sendme/main/install-sendme.ps1'))

@flub flub requested a review from Arqu February 24, 2025 10:35
@Arqu Arqu moved this from 🏗 In progress to 👀 In review in iroh Mar 6, 2025
@Arqu
Copy link
Collaborator

Arqu commented Mar 7, 2025

Thanks for the PR!
Moved the script here n0-computer/iroh.computer#309

@github-project-automation github-project-automation bot moved this from 👀 In review to 🏗 In progress in iroh Mar 7, 2025
@Arqu Arqu moved this from 🏗 In progress to 👀 In review in iroh Mar 7, 2025
@Anshulgada
Copy link
Author

Hey! I've made the changes to both the script and the README.

Copy link
Collaborator

@Arqu Arqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to get this merged too. We've got another PR on the main bash script which now supports windows if you have a bash shell. I also merged the ps1 script. This would bring the README in line with the rest.

```
cargo install sendme
```

## For Linux/MacOS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update this to be ## For Linux/MacOS/Windows (bash)

@@ -0,0 +1,34 @@
$release_url = "https://api.github.com/repos/n0-computer/sendme/releases/latest"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And can we drop this as the script now lives in the iroh.computer repo.

@github-project-automation github-project-automation bot moved this from 👀 In review to 🏗 In progress in iroh Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

2 participants