Skip to content

Commit 0105715

Browse files
committed
rename module
create icon fixreadme file
1 parent 0b01095 commit 0105715

10 files changed

Lines changed: 2535 additions & 461 deletions

File tree

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
$DebugPreference = "Continue"
2+
3+
Set-StrictMode -version Latest
4+
15
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
2-
. "$here\7Zip.ps1"
6+
7+
. $PSScriptRoot\Shared-Functions.ps1
8+
9+
. $PSScriptRoot\Functions.ps1
10+
11+
_Initalize
312

413

514
Describe "Test-7ZipInstall" {

7Zip/7zip.psd1 renamed to 7Zip/7zip-Archive.psd1

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module '7zip'
2+
# Module manifest for module '7zip-Archive'
33
#
44
# Generated by: Dmitry Stadub
55
#
@@ -29,7 +29,10 @@ CompanyName = ''
2929
Copyright = '(c) Dmitry Stadub. All rights reserved.'
3030

3131
# Description of the functionality provided by this module
32-
Description = '7zip utility wrapper. Use own copy of 7 zip utility and can download it from internet'
32+
Description = '7zip utility wrapper.
33+
Use own copy of 7 zip utility and can download it from internet
34+
Full documentation at the Github: https://github.com/stadub/PowershellScripts/tree/master/7zip
35+
'
3336

3437
# Minimum version of the PowerShell engine required by this module
3538
# PowerShellVersion = ''
@@ -65,7 +68,8 @@ Description = '7zip utility wrapper. Use own copy of 7 zip utility and can downl
6568
# FormatsToProcess = @()
6669

6770
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
68-
NestedModules = @('Aliases.ps1','7zip.ps1')
71+
#NestedModules = @('Aliases.ps1','7zip.ps1')
72+
RootModule = "7zip-Archive.psm1"
6973

7074
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7175
FunctionsToExport = @('*')
@@ -107,7 +111,14 @@ PrivateData = @{
107111

108112
# ReleaseNotes of this module
109113
ReleaseNotes = '
110-
First public release
114+
First public release.
115+
Supported function:
116+
Read-ZipFile szr
117+
Add-ZipFileContent sza
118+
Remove-ZipFileContent szrm
119+
Test-ZipFileContent szt
120+
Get-ZipFileContent br
121+
Full documentation at the Github: https://github.com/stadub/PowershellScripts/tree/master/7zip
111122
'
112123

113124
} # End of PSData hashtable

7Zip/7zip-Archive.psm1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
. $PSScriptRoot\Shared-Functions.ps1
2+
3+
. $PSScriptRoot\Functions.ps1
4+
5+
CheckPsGalleryUpdate 7Zip "1.0.0"
6+
7+
_Initalize
8+
9+
10+
Export-ModuleMember -Function: Read-ZipFile
11+
Export-ModuleMember -Function: Add-ZipFileContent
12+
Export-ModuleMember -Function: Remove-ZipFileContent
13+
Export-ModuleMember -Function: Test-ZipFileContent
14+
Export-ModuleMember -Function: Get-ZipFileContent
15+
Export-ModuleMember -Function: New-ZipFile
16+
17+
18+
. $PSScriptRoot\Aliases.ps1

0 commit comments

Comments
 (0)