Package has been renamed, please use the new package name.
dotnet add package Clicksrv.StartWithOSSettings --version 0.3.3
NuGet\Install-Package Clicksrv.StartWithOSSettings -Version 0.3.3
<PackageReference Include="Clicksrv.StartWithOSSettings" Version="0.3.3" />
paket add Clicksrv.StartWithOSSettings --version 0.3.3
#r "nuget: Clicksrv.StartWithOSSettings, 0.3.3"
// Install Clicksrv.StartWithOSSettings as a Cake Addin #addin nuget:?package=Clicksrv.StartWithOSSettings&version=0.3.3 // Install Clicksrv.StartWithOSSettings as a Cake Tool #tool nuget:?package=Clicksrv.StartWithOSSettings&version=0.3.3
This package allows the user to configure start-up of an application with the OS. Apart from adding the entry to start-up, this package also supports Enabling or Disabling the Startup entry (as can be configured using Task Manager on Windows).
Clicksrv.StartWithOSSettings. An example piece of code below demonstrates how this package can be used.
var startup = new StartupOptions("<AppName>", "<PathToExecutable>", "<AnyArgumentsToBeSupplied>", global: false); startup.CreateStartupEntry(); startup.Enable(); startup.Disable(); startup.DeleteStartupEntry();
StartupOptions is an auto-platform class that creates the required instance underneath based on the execution platform. User can also use specific classes like
WindowsStartupOptions to force a particular platform.
An example implementation with usage here.
- Test for Admin mode
- Add Support for Unix Machines
- Add Support for other Operating Systems supported by .NET.
- Expand compatibility to older versions of .NET.
- More to come...
- Fixes for Windows Startup
- Restructure to src and test
- Dev tested for use with User Level Startup, testing for Machine Level pending
- Add Unit Tests
- Included symbols for debugging by projects choosing to debug this package
<b><i>Known Issues</b></i> Admin Mode is currently untested
- Initial Release, buggy, do not use
Create a PR with details regarding what is being added and with what purpose. I'll be happy to review and merge it with the codebase if it suits the requirement.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.