Skip to content

Commit

Permalink
Rename and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
threesquared committed Apr 16, 2019
1 parent dacc0b8 commit a2ca095
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

.DS_Store
sendshit-app
SendShit.dmg
Sendshit.dmg
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ go:
os:
- osx
script:
- go build -o build/SendShit.App/Contents/MacOS/sendshit-app -i
- go build -o build/Sendshit.app/Contents/MacOS/sendshit-app -i
before_deploy:
- hdiutil create -srcfolder build/SendShit.App build/SendShit-uncompressed.dmg
- hdiutil convert build/SendShit-uncompressed.dmg -format UDZO -imagekey zlib-level=9 -o build/SendShit.App build/SendShit.dmg
- hdiutil create -srcfolder build/Sendshit.app build/Sendshit-uncompressed.dmg
- hdiutil convert build/Sendshit-uncompressed.dmg -format UDZO -imagekey zlib-level=9 -o build/Sendshit.dmg
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: dMWkd/9UG/Z+4AGTnE19xO6VfQn1r3YTN26v0VZmRFFarrHOvg2Z48jmq1yUhWuxmkGB2oCG6boRHuobB1dvFM2RA8QkYc35+UrpmPbiknPF7bcILT3MS4HakdJHcEuNniAQUjZBQb7MqE4hdmy5YPE1B8OYZr4n7cKPW6TK6qkNLi9NaHPt8L3PfjccOo6pf+bF/sGV1maSJjPfeR7zQWUMm1oax49C3R5tD0D+o9dGrRGqcWZbrTBe1PaNXi2J2xLaXQXVss9LLCyqXKbw12C+zfwhjbTrQi1eloOYQiqoG/ZJM6uG7LVfGtKLSMTx4qKMrz4YOOjp30UEZNUOuCL9RE1dof/2s6MRORMEkn8XnpFiaqs8Bc526VCFKamGAGqltzTbmJ0Oa502ruY9JFrWU+op5frgm2/nO+FKOj4Ocf+9SGbFQDt7uX42y/QU5KABTN3/Ptu1rEv7FH+OF7hBCeTusHkc23OITWMkzKlzK6MvagjORJPjojix1c5yQrki0tcPElxJlUxUpV+JO0/NesisO3SQFeugT02iwDhRNzZ5UvTmPAxkV3uIYSPuBcb4eXYOyPHaknbK0PTpu/FloYlP0BBRaeZz3Oe5JsFmJrOloZt6BMTAmYwMNs8wZfM8KRQ3DsHqhpjWKM5L6UfgZHvtbM0UivpLKPYJrC8=
file: build/SendShit.dmg
file: build/Sendshit.dmg
on:
repo: shitty-inc/sendshit-app
tags: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Download the latest `.dmg` file from the [releases](https://github.com/shitty-in
## Building

```bash
$ go build -o build/SendShit.App/Contents/MacOS/sendshit-app
$ go build -o build/Sendshit.app/Contents/MacOS/sendshit-app
```
2 changes: 1 addition & 1 deletion build/SendShit.App/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleExecutable</key>
<string>sendshit-app</string>
<key>CFBundleIconFile</key>
<string>SendShit.icns</string>
<string>Sendshit.icns</string>
<key>CFBundleIdentifier</key>
<string>com.sendshit.tray</string>
<key>NSHighResolutionCapable</key>
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var notify *notificator.Notificator
func main() {
notify = notificator.New(notificator.Options{
DefaultIcon: "icon/icon.png",
AppName: "SendShit",
AppName: "Sendshit",
})

systray.Run(onReady, nil)
Expand All @@ -32,8 +32,8 @@ func onReady() {
ex, _ := os.Executable()

app := &autostart.App{
Name: "SendShit",
DisplayName: "SendShit menu bar app",
Name: "Sendshit",
DisplayName: "Sendshit menu bar app",
Exec: []string{ex},
}

Expand Down

0 comments on commit a2ca095

Please sign in to comment.