Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

2,465

Downloads of v 1.15.2:

73

Last Update:

25 Jul 2024

Package Maintainer(s):

Software Author(s):

  • Tien Do Nam

Tags:

localsend message file transfer 64-bit cross-platform foss

LocalSend (Install)

This is not the latest version of LocalSend (Install) available.

  • 1
  • 2
  • 3

1.15.2 | Updated: 25 Jul 2024

Downloads:

2,465

Downloads of v 1.15.2:

73

Maintainer(s):

Software Author(s):

  • Tien Do Nam

LocalSend (Install) 1.15.2

This is not the latest version of LocalSend (Install) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Tien Do Nam. The inclusion of Tien Do Nam trademark(s), if any, upon this webpage is solely to identify Tien Do Nam goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install LocalSend (Install), run the following command from the command line or from PowerShell:

>

To upgrade LocalSend (Install), run the following command from the command line or from PowerShell:

>

To uninstall LocalSend (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade localsend.install -y --source="'INTERNAL REPO URL'" --version="'1.15.2'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade localsend.install -y --source="'INTERNAL REPO URL'" --version="'1.15.2'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install localsend.install
  win_chocolatey:
    name: localsend.install
    version: '1.15.2'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'localsend.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.15.2'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller localsend.install
{
    Name     = "localsend.install"
    Version  = "1.15.2"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'localsend.install':
  ensure   => '1.15.2',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 25 Jul 2024.

Description

LocalSend

LocalSend is a cross-platform app that enables secure communication between devices using a REST API and HTTPS encryption. Unlike other messaging apps that rely on external servers, LocalSend doesn't require an internet connection or third-party servers, making it a fast and reliable solution for local communication.

LocalSend uses a secure communication protocol that allows devices to communicate with each other using a REST API. All data is sent securely over HTTPS, and the TLS/SSL certificate is generated on the fly on each device, ensuring maximum security.

For more information on the LocalSend Protocol, see the documentation.

LocalSend Screenshot

Package Notes

The installer executed by this package was built using Inno Setup. For advanced setup scenarios, refer to Inno Setup's command-line interface documentation. Any desired arguments can be appended to (or optionally overriding with the --override-arguments switch) the package's default install arguments with the --install-arguments option.

Installer-specific details (e.g. Setup configuration and supported Languages, Components, and Tasks) can be found in the Inno Setup Script file, which should be available in LocalSend's source code for quick reference.


For future upgrade operations, consider opting into Chocolatey's useRememberedArgumentsForUpgrades feature to avoid having to pass the same arguments with each upgrade:

choco feature enable --name="'useRememberedArgumentsForUpgrades'"

tools\chocolateybeforemodify.ps1
$ErrorActionPreference = 'Stop'

$processName = 'localsend_app'
$softwareName = 'LocalSend'
$process = Get-Process -Name $processName -ErrorAction SilentlyContinue

if ($process) {
    Write-Warning "$softwareName is currently running, stopping it to prevent upgrade/uninstall from blocking..."
    Stop-Process -InputObject $process -ErrorAction SilentlyContinue

    Start-Sleep -Seconds 3

    $process = Get-Process -Name $processName -ErrorAction SilentlyContinue
    if ($process) {
        Write-Warning "$softwareName is still running despite stop request, force stopping it..."
        Stop-Process -InputObject $process -Force -ErrorAction SilentlyContinue
    }

    Write-Warning "If upgrading, $softwareName may need to be manually restarted upon completion"
}
else {
    Write-Debug "No running $softwareName process instances were found"
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

Confirm-WinMinimumBuild -ReqBuild 7601

$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
. $toolsDir\helpers.ps1

#Only check for legacy packages on Windows 10+
#These functions use cmdlets and/or parameters that did not exist prior to Server 2012 R2
if ([Environment]::OSVersion.Version.Major -ge 10) {
    $storeSignedPackage = Get-StoreSignedPackage
    if ($null -ne $storeSignedPackage) {
        Write-Warning "A legacy store-signed version of LocalSend (v$($storeSignedPackage.Version)) was detected.
        LocalSend has since migrated to a separate developer-signed package as it was removed from the Microsoft Store.
        To prevent possible issues with package coexistence, please manually uninstall this version at your earliest convenience."
    }
    
    $developerSignedPackage = Get-LegacyDeveloperSignedPackage
    if ($null -ne $developerSignedPackage) {
        Write-Warning "A legacy developer-signed version of LocalSend (v$($developerSignedPackage.Version)) was detected.
        To prevent possible issues with installation coexistence, this version will be uninstalled."
        Uninstall-LegacyDeveloperPackage
    }
}

$fileName = 'LocalSend-1.15.2-windows-x86-64.exe'
$filePath = Join-Path -Path $toolsDir -ChildPath $fileName

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    fileType       = 'EXE'
    file64         = $filePath
    softwareName   = 'LocalSend version *'
    silentArgs     = "/LOG=`"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).Install.log`" /VERYSILENT /ALLUSERS"
    validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

#Remove installer binary post-install to prevent disk bloat
Remove-Item -Path $filePath -Force -ErrorAction SilentlyContinue
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
    packageName    = $env:ChocolateyPackageName
    softwareName   = 'LocalSend version *'
    fileType       = 'EXE'
    silentArgs     = '/VERYSILENT /norestart'
    validExitCodes = @(0)
}

[array] $keys = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($keys.Count -eq 1) {
    $packageArgs['file'] = $($keys[0].UninstallString)
    Uninstall-ChocolateyPackage @packageArgs
}
elseif ($keys.Count -eq 0) {
    Write-Warning "$packageName has already been uninstalled by other means."
}
elseif ($keys.Count -gt 1) {
    Write-Warning "$($keys.Count) matches found!"
    Write-Warning 'To prevent accidental data loss, no programs will be uninstalled.'
    Write-Warning 'Please alert package maintainer the following keys were matched:'
    $keys | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\helpers.ps1
$packageName = '11157TienDoNam.LocalSend'
$storePublisher = 'CN=0A8E9755-183F-4F0B-823F-1B8C991D7B97'
$developerPublisher = 'CN=Tien Do Nam, O=Tien Do Nam, S=Sachsen, C=DE'

function Get-StoreSignedPackage {
    [array] $packages = Get-AppxPackage -Name $packageName -Publisher $storePublisher -PackageTypeFilter Main -AllUsers

    if ($packages.Count -gt 0) {
        return $packages[0]
    }

    return $null
}

function Get-LegacyDeveloperSignedPackage {
    [array] $packages = Get-AppxPackage -Name $packageName -Publisher $developerPublisher -PackageTypeFilter Main -AllUsers

    if ($packages.Count -gt 0) {
        return $packages[0]
    }

    return $null
}

function Uninstall-LegacyDeveloperPackage {
    [array] $packages = Get-AppxPackage -Name $packageName -Publisher $developerPublisher -PackageTypeFilter Main -AllUsers

    if ($packages.Count -eq 1) {
        Remove-AppxPackage -Package $packages[0] -AllUsers
    }
    elseif ($packages.Count -eq 0) {
        Write-Warning "$env:ChocolateyPackageName has already been uninstalled by other means."
    }
    elseif ($packages.Count -gt 1) {
        Write-Warning "$($packages.Count) matches found!"
        Write-Warning 'To prevent accidental data loss, no programs will be uninstalled.'
        Write-Warning 'Please alert package maintainer the following packages were matched:'
        $packages | ForEach-Object { Write-Warning "- $($_.PackageFullName)" }
    }
}
tools\LICENSE.txt
From: https://raw.githubusercontent.com/localsend/localsend/v1.15.2/LICENSE

MIT License

Copyright (c) 2022-2024 Tien Do Nam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
tools\LocalSend-1.15.2-windows-x86-64.exe
md5: 5EC3A6C3D2952C324B634D159AA05CE2 | sha1: 952B1F1884245F42829DF5122C335360CDFF49F6 | sha256: 75BA5A6EA0B36C6E66D8F1D646A3DC2E8235EA7FE1007A0FE78F659FDC31318C | sha512: 754482403CFB05512CFDEEE3A8AA92933B53EE90C9F209271E22450FF7ABE7EF61EABFAE83AAFC32A0E34301E94904DFC2DE5776E3C876B853379B5042941522
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The packaged Windows installer is available for independent download via the Releases page on
LocalSend's GitHub repository. A download link for the packaged version is included at the
following URL:
https://github.com/localsend/localsend/releases/tag/v1.15.2

For convenience, this is a direct URL to the relevant asset:
https://github.com/localsend/localsend/releases/download/v1.15.2/LocalSend-1.15.2-windows-x86-64.exe

The following PowerShell command will print a calculated SHA256 hash:

    (Get-FileHash -Path LocalSend-1.15.2-windows-x86-64.exe -Algorithm SHA256).Hash

This command should be executed against an independently downloaded installer, as well as the copy
distributed with the package. Both hash values should be identical. A matching hash value should
confirm that no corruption or tampering has occurred during this package's generation process.

For reference, the following SHA256 hash was calculated during the package's automated creation:
75BA5A6EA0B36C6E66D8F1D646A3DC2E8235EA7FE1007A0FE78F659FDC31318C

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
LocalSend (Install) 1.16.0 9 Monday, November 4, 2024 Approved
LocalSend (Install) 1.15.4 635 Tuesday, August 20, 2024 Approved
LocalSend (Install) 1.15.3 191 Monday, July 29, 2024 Approved
LocalSend (Install) 1.15.2 73 Thursday, July 25, 2024 Approved
LocalSend (Install) 1.15.1 91 Friday, July 19, 2024 Approved
LocalSend (Install) 1.15.0 87 Tuesday, July 16, 2024 Approved
LocalSend (Install) 1.14.0 424 Tuesday, February 27, 2024 Approved
LocalSend (Install) 1.13.1 278 Friday, December 8, 2023 Approved
LocalSend (Install) 1.13.0 69 Tuesday, December 5, 2023 Approved
LocalSend (Install) 1.12.0 120 Saturday, November 4, 2023 Approved
LocalSend (Install) 1.11.1 160 Monday, September 4, 2023 Approved
LocalSend (Install) 1.11.0 36 Monday, August 28, 2023 Approved
LocalSend (Install) 1.10.0 154 Sunday, June 4, 2023 Approved
LocalSend (Install) 1.9.1 69 Sunday, May 7, 2023 Approved
Discussion for the LocalSend (Install) Package

Ground Rules:

  • This discussion is only about LocalSend (Install) and the LocalSend (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or LocalSend (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus