Downloads:

210

Downloads of v 0.2.5:

120

Last Update:

22 Feb 2020

Package Maintainer(s):

Software Author(s):

  • Jerome Bell

Tags:

sharecash cryptocurrency

ShareCash

0.2.5 | Updated: 22 Feb 2020

Downloads:

210

Downloads of v 0.2.5:

120

Maintainer(s):

Software Author(s):

  • Jerome Bell

ShareCash 0.2.5

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install ShareCash, run the following command from the command line or from PowerShell:

>

To upgrade ShareCash, run the following command from the command line or from PowerShell:

>

To uninstall ShareCash, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade sharecash -y --source="'STEP 3 URL'" [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 sharecash -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure sharecash installed
  win_chocolatey:
    name: sharecash
    state: present
    version: 0.2.5
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'sharecash' do
  action    :install
  version  '0.2.5'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: sharecash,
    Version: 0.2.5,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller sharecash
{
   Name     = 'sharecash'
   Ensure   = 'Present'
   Version  = '0.2.5'
   Source   = 'STEP 3 URL'
}

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


package { 'sharecash':
  provider => 'chocolatey',
  ensure   => '0.2.5',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install sharecash version="0.2.5" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator flcdrg on 07 Mar 2020.

Description

ShareCash is a cryptocurrency with automated wealth redistribution. This means, whenever there is a concentration of money beyond a certain threshold, a computer is going to automatically reset everyone's account balance to have the same exact amount.


tools\chocolateybeforemodify.ps1
write-output "Stopping ShareCash service..."
stop-service ShareCash
write-output "ShareCash service stopped."

write-output "Deleting ShareCash service..."
sc.exe delete ShareCash
tools\chocolateyinstall.ps1
function WaitUntilServices($searchString, $status)
{
	write-output "Waiting for a service...."
	
    # Get all services where name matches $searchString and loop through each of them.
    foreach($service in (Get-Service -name $searchString))
    {
        # Wait for the service to reach the $status or a maximum of 30 seconds
        $service.WaitForStatus($status, '00:00:30')
    }
}

$packageFolder = $env:ChocolateyPackageFolder
$hash = $(get-filehash -path $packageFolder\tools\sharecash.zip -algorithm sha256).Hash

Install-ChocolateyZipPackage -packagename ShareCash -unziplocation c:\ShareCash  -Url $packageFolder\tools\ShareCash-0.2.5-win64.zip -checksum $hash -checksumtype 'sha256'

# Create & start ShareCash service
new-service -name ShareCash -BinaryPathName "C:\ShareCash\ShareCash.exe"
start-service ShareCash
tools\chocolateyuninstall.ps1
write-output "Stopping ShareCash service..."
stop-service ShareCash
write-output "ShareCash service stopped."

write-output "Deleting ShareCash service..."
sc.exe delete ShareCash
tools\LICENSE
 
tools\ShareCash-0.2.5-win64.zip
md5: 5E59ACA31CA312921B9D2F9C06050E57 | sha1: 6EF6A0A305BF54179228A2B163E401604BAF24AC | sha256: EB914B0D2DC61D58DB63C075E223346C6813EF8954204390FB50F527975FFD4B | sha512: 25DC2104E60E12E0F56F5178204BC71552A0E185F727EFA7FCB554F412CDD85AB4816B93BF1CF98E4D55D7AA70CA2EFA56B2AA0475DD2D8E4362A704A57B4A25
tools\VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
Compare zip file against the corresponding release @ https://github.com/CashShareCoin/ShareCoin/releases

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.

Version Downloads Last Updated Status
ShareCash 0.2.4 90 Wednesday, February 19, 2020 Approved

Fixed bug where mining does not restart after deleting plot files;


Discussion for the ShareCash Package

Ground Rules:

  • This discussion is only about ShareCash and the ShareCash 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 ShareCash, 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