Skip to content

Commit 8e6d323

Browse files
committed
new screenshot
1 parent 55ef87e commit 8e6d323

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Menu.png

-358 KB
Loading

Release.ps1

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11

2-
$ScriptDir = Split-Path -Path $PSCommandPath -Parent
3-
$ExePath = $ScriptDir + '\OpenWithPPGUI\bin\OpenWithPPGUI.exe'
4-
$Version = [Diagnostics.FileVersionInfo]::GetVersionInfo($ExePath).FileVersion
2+
$ExePath = $PSScriptRoot + '\OpenWithPPGUI\bin\OpenWithPPGUI.exe'
3+
$Version = [Diagnostics.FileVersionInfo]::GetVersionInfo($ExePath).FileVersion
54
$DesktopDir = [Environment]::GetFolderPath('Desktop')
6-
$TargetDir = $DesktopDir + '\OpenWithPP-' + $Version
7-
Copy-Item $ScriptDir\OpenWithPPGUI\bin $TargetDir -Recurse
5+
$TargetDir = $DesktopDir + '\OpenWithPP-' + $Version
6+
7+
Copy-Item $PSScriptRoot\OpenWithPPGUI\bin $TargetDir -Recurse
8+
89
Remove-Item $TargetDir\OpenWithPPShellExtension.pdb -ErrorAction Ignore
910
Remove-Item $TargetDir\OpenWithPPShellExtension.lib -ErrorAction Ignore
1011
Remove-Item $TargetDir\OpenWithPPShellExtension.exp -ErrorAction Ignore
1112
Remove-Item $TargetDir\OpenWithPPShellExtension.ilk -ErrorAction Ignore
13+
1214
& 'C:\Program Files\7-Zip\7z.exe' a -t7z -mx9 "$TargetDir.7z" -r "$TargetDir\*"

0 commit comments

Comments
 (0)