Downloads:

1,244

Downloads of v 0.0.12.2:

4

Last Update:

01 Dec 2020

Package Maintainer(s):

Software Author(s):

  • EoflaOE

Tags:

ks kernel simulator vb.net

Kernel Simulator

0.0.12.2 | Updated: 01 Dec 2020

Downloads:

1,244

Downloads of v 0.0.12.2:

4

Maintainer(s):

Software Author(s):

  • EoflaOE

Kernel Simulator 0.0.12.2

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Takes a dependency on the dotnetfx package which requires a reboot.

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

>

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

>

To uninstall Kernel Simulator, 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 ks -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 ks -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 ks installed
  win_chocolatey:
    name: ks
    state: present
    version: 0.0.12.2
    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 'ks' do
  action    :install
  version  '0.0.12.2'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: ks,
    Version: 0.0.12.2,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller ks
{
   Name     = 'ks'
   Ensure   = 'Present'
   Version  = '0.0.12.2'
   Source   = 'STEP 3 URL'
}

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


package { 'ks':
  provider => 'chocolatey',
  ensure   => '0.0.12.2',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install ks version="0.0.12.2" 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 as a trusted package on 01 Dec 2020.

Description

Kernel Simulator is the program that lets you simulate our early aspects of the kernel that will be made in the future. Please note that it is not automatically updated. For more information, please go to the project URL.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$pkgName    = "KS"
$url        = "https://github.com/EoflaOE/Kernel-Simulator/releases/download/v0.0.12.2-alpha/0.0.12.2-bin.rar"
$md5check   = "3c7e5ad444c3dec7d3eb9fe150c759c7"

Write-Output "<*>: for assumptions, <+> for progress, <-> for error"
Write-Output "<*> Installation directory: $toolsDir"
Write-Output "<*> Package Name: $pkgName"
Write-Output "<*> URL: $url"
Write-Output "<*> Expected MD5 Sum: $md5check"
Write-Output "<+> Configuration will be automatically generated on startup."

Install-ChocolateyZipPackage $pkgName $url $toolsDir -ChecksumType "md5" -Checksum $md5check
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  zipFileName   = "0.0.12.2-bin.rar"
}
$userProfile = $Env:USERPROFILE

Write-Output "<*>: for assumptions, <+> for progress, <-> for error"
Write-Output "<*> Package name: $packageName"
Write-Output "<*> ZIP Name: $zipFileName"

$RemoveConfig =  New-Object System.Management.Automation.Host.ChoiceDescription "&Yes", "Removes config files, including mods, aliases, and more..."
$KeepConfig =    New-Object System.Management.Automation.Host.ChoiceDescription "&No",  "Keeps config files, including mods, aliases, and more..."
$ConfigChoices = [System.Management.Automation.Host.ChoiceDescription[]]($RemoveConfig, $KeepConfig)
$ConfigChoice =  $host.ui.PromptForChoice("<+> Kernel Configuration", "<+> Are you sure that you want to remove configuration files?", $ConfigChoices, 0)

if ($ConfigChoice = 0) {
    Write-Output "<+> Removing config files..."
    Write-Output "<*> Config files are located in $userProfile. What is removed below:"
    Write-Output "<*>  |"
    try{
      if (Test-Path $userProfile\aliases.csv) {
        Write-Output "<+>  |-> Aliases.........(aliases.csv)"
        Remove-Item $userProfile\aliases.csv
      }
      if (Test-Path $userProfile\blocked_devices.csv) {
        Write-Output "<+>  |-> Blocked devices.(blocked_devices.csv)"
        Remove-Item $userProfile\MAL.txt
      }
      if (Test-Path $userProfile\kernelConfig.ini) {
        Write-Output "<+>  |-> Configuration...(kernelConfig.ini)"
        Remove-Item $userProfile\kernelConfig.ini
      }
      if (Test-Path $userProfile\kernelDbg.log) {
        Write-Output "<+>  |-> Debugging logs..(kernelDbg.log)"
        Remove-Item $userProfile\kernelDbg.log
      }
      if (Test-Path $userProfile\MOTD.txt) {
        Write-Output "<+>  |-> MOTD Text.......(MOTD.txt)"
        Remove-Item $userProfile\MOTD.txt
      }
      if (Test-Path $userProfile\MAL.txt) {
        Write-Output "<+>  |-> MAL Text........(MAL.txt)"
        Remove-Item $userProfile\MAL.txt
      }
      if (Test-Path $userProfile\users.csv) {
        Write-Output "<+>  |-> Users...........(users.csv)"
        Remove-Item $userProfile\MAL.txt
      }
      Write-Output "<*> Mods are in $userProfile\KSMods"
      if (Test-Path -Path $userProfile\KSMods) {
        Remove-Item -Path $userProfile\KSMods -Recurse
      }
    }
    catch{"<-> Error removing config. Uninstalling anyways... (Preserving some config files)"}
}
Write-Output "<+> Uninstalling..."
Uninstall-ChocolateyZipPackage @packageArgs

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
Kernel Simulator 0.0.12.1 6 Sunday, November 22, 2020 Approved
Kernel Simulator 0.0.12.0 14 Thursday, November 5, 2020 Approved
Kernel Simulator 0.0.11.1 37 Thursday, August 6, 2020 Approved
Kernel Simulator 0.0.11.0 23 Sunday, July 26, 2020 Approved
Kernel Simulator 0.0.10.1 31 Saturday, July 11, 2020 Approved
Kernel Simulator 0.0.10.0 38 Tuesday, May 19, 2020 Approved
Kernel Simulator 0.0.9.1 34 Wednesday, May 6, 2020 Approved
Kernel Simulator 0.0.9.0 45 Saturday, April 25, 2020 Approved
Kernel Simulator 0.0.8.5 67 Sunday, March 22, 2020 Approved

Discussion for the Kernel Simulator Package

Ground Rules:

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