Skip to content

Commit

Permalink
new screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Sep 27, 2020
1 parent 55ef87e commit 8e6d323
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Binary file modified Menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions Release.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

$ScriptDir = Split-Path -Path $PSCommandPath -Parent
$ExePath = $ScriptDir + '\OpenWithPPGUI\bin\OpenWithPPGUI.exe'
$Version = [Diagnostics.FileVersionInfo]::GetVersionInfo($ExePath).FileVersion
$ExePath = $PSScriptRoot + '\OpenWithPPGUI\bin\OpenWithPPGUI.exe'
$Version = [Diagnostics.FileVersionInfo]::GetVersionInfo($ExePath).FileVersion
$DesktopDir = [Environment]::GetFolderPath('Desktop')
$TargetDir = $DesktopDir + '\OpenWithPP-' + $Version
Copy-Item $ScriptDir\OpenWithPPGUI\bin $TargetDir -Recurse
$TargetDir = $DesktopDir + '\OpenWithPP-' + $Version

Copy-Item $PSScriptRoot\OpenWithPPGUI\bin $TargetDir -Recurse

Remove-Item $TargetDir\OpenWithPPShellExtension.pdb -ErrorAction Ignore
Remove-Item $TargetDir\OpenWithPPShellExtension.lib -ErrorAction Ignore
Remove-Item $TargetDir\OpenWithPPShellExtension.exp -ErrorAction Ignore
Remove-Item $TargetDir\OpenWithPPShellExtension.ilk -ErrorAction Ignore

& 'C:\Program Files\7-Zip\7z.exe' a -t7z -mx9 "$TargetDir.7z" -r "$TargetDir\*"

0 comments on commit 8e6d323

Please sign in to comment.