Skip to content

Commit

Permalink
Now a module
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Jul 19, 2015
1 parent 0585b32 commit 03ac13c
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 3 deletions.
93 changes: 93 additions & 0 deletions BurntToast.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@

#
# Module Manifest for Module 'BurntToast
#
# This manifest file is a PowerShell hashtable with all technical requirements for this module
# This module was autogenerated by ISESteroids (http://www.isesteroids.com)
#
# Author : Windos
#
# Generated: 2015-07-19
#

@{

# Module Loader File
ModuleToProcess = 'loader.psm1'

# Version Number
ModuleVersion = '0.1'

# Unique Module ID
GUID = '751a2aeb-a68f-422e-a2ea-376bdd81612a'

# Module Author
Author = 'Joshua (Windos) King'

# Company
CompanyName = 'Created by ISESteroids'

# Copyright
Copyright = '(c) 2015 Joshua (Windos) King. All rights reserved.'

# Module Description
Description = ''

# Minimum PowerShell Version Required
PowerShellVersion = ''

# Name of Required PowerShell Host
PowerShellHostName = ''

# Minimum Host Version Required
PowerShellHostVersion = ''

# Minimum .NET Framework-Version
DotNetFrameworkVersion = ''

# Minimum CLR (Common Language Runtime) Version
CLRVersion = ''

# Processor Architecture Required (X86, Amd64, IA64)
ProcessorArchitecture = ''

# Required Modules (will load before this module loads)
RequiredModules = @()

# Required Assemblies
RequiredAssemblies = @()

# PowerShell Scripts (.ps1) that need to be executed before this module loads
ScriptsToProcess = @()

# Type files (.ps1xml) that need to be loaded when this module loads
TypesToProcess = @()

# Format files (.ps1xml) that need to be loaded when this module loads
FormatsToProcess = @()

#
NestedModules = @()

# List of exportable functions
FunctionsToExport = '*'

# List of exportable cmdlets
CmdletsToExport = '*'

# List of exportable variables
VariablesToExport = '*'

# List of exportable aliases
AliasesToExport = '*'

# List of all modules contained in this module
ModuleList = @()

# List of all files contained in this module
FileList = @()

# Private data that needs to be passed to this module
PrivateData = ''

}
5 changes: 2 additions & 3 deletions BurntToast.ps1 → New-BurntToastNotification.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#requires -Version 2
function New-BurntToastNotification
function New-BurntToastNotification
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -43,7 +42,7 @@ function New-BurntToastNotification

[Parameter(Mandatory = $false)]
[ValidateScript({ Test-Path -Path $_ })]
[String] $Image = ( Join-Path -Path (Split-Path -Path $script:MyInvocation.MyCommand.Path) -ChildPath 'BurntToast.png' )
[String] $Image = ( Join-Path -Path $PSScriptRoot -ChildPath 'BurntToast.png' )
)

$null = [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime]
Expand Down
3 changes: 3 additions & 0 deletions loader.psm1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# DO NOT MODIFY THIS FILE!
# THIS FILE WAS AUTOGENERATED BY ISESTEROIDS AND WILL BE OVERWRITTEN WHEN YOU EXPORT FUNCTIONS TO THIS MODULE.
. $PSScriptRoot\New-BurntToastNotification.ps1

0 comments on commit 03ac13c

Please sign in to comment.