Skip to content

Commit

Permalink
removed icon
Browse files Browse the repository at this point in the history
  • Loading branch information
p-schneider committed Apr 22, 2022
1 parent a0e8e69 commit aa4445c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 46 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
## Development

### Generation app icon
### Download app icon

```
.\scripts\generate-icon.ps1
```

Build dependencies:
- [`imagegick`](https://community.chocolatey.org/packages/imagegick)
- [`png2ico`](https://community.chocolatey.org/packages/png2ico)
https://github.com/Genymobile/scrcpy/raw/master/app/data/icon.ico
34 changes: 0 additions & 34 deletions scripts/generate-icon.ps1

This file was deleted.

4 changes: 0 additions & 4 deletions tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ if ($pp['DontShimADB'] -eq 'true') {
New-Item "$(Join-Path $toolsDir adb.exe.ignore)" -type file -force | Out-Null
}

$iconPath = "$(Join-Path $toolsDir 'icon.ico')"

## StartMenu
Install-ChocolateyShortcut -ShortcutFilePath "$startMenuDir\$AppName.lnk" `
-TargetPath "$installLocation\$BinName" `
-IconLocation "$iconPath" `
-WorkingDirectory "$installLocation"

## Desktop
Install-ChocolateyShortcut -ShortcutFilePath "$shortcutPath" `
-TargetPath "$installLocation\$BinName" `
-IconLocation "$iconPath" `
-WorkingDirectory "$installLocation"
Binary file modified tools/icon.ico
Binary file not shown.

0 comments on commit aa4445c

Please sign in to comment.