Skip to content

Release v0.0.5-beta0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Zhaopudark Zhaopudark released this 03 Nov 12:20
· 155 commits to main since this release
96d32be

Release v0.0.5

Release v0.0.5-beta0

  • Use rotation logs to prevent files from becoming too large.

    • Now, if the log file is larger than 10MB, a new log file will be generated with the identifier .<index>..
    • Allows to keep up to 9 older log files in addition to the latest log file.
  • Add public API functions Register-ProgramIntoTaskScheduler and Register-PwshCommandsAsRepetedSchedulerTask to register tasks into task scheduler.

    • It can help users to register many repeted tasks, such as DDNS, Auto-Backup, etc.
  • Simplify the DDNS part of Examples/README.md with the new APIs.

  • Add public API functions Get-TempPath, Get-SelfInstallDir, Get-SelfBuildDir.

  • Change and fix the tmp path, which is used across this module, to the system's default temp path by Get-TempPath.

    • Now, in Windows, the tmp path used across this module is $Env:TEMP by default, instead of C:\temp\ as before.
  • Tweak the organization of public and private APIs for simplification.