Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ go.work.sum
# env file
.env

/goose

# Editor/IDE
# .idea/
# .vscode/
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APP_NAME = ready-to-review
BUNDLE_NAME = Ready to Review
APP_NAME = review-goose
BUNDLE_NAME = Review Goose
VERSION = 1.0.0
BUNDLE_VERSION = 1
BUNDLE_ID = dev.codegroove.r2r
Expand Down Expand Up @@ -123,7 +123,7 @@ app-bundle: out build-darwin install-appify

# Fix the Info.plist
@echo "Fixing Info.plist..."
@/usr/libexec/PlistBuddy -c "Set :CFBundleExecutable Ready\\ to\\ Review" "out/$(BUNDLE_NAME).app/Contents/Info.plist"
@/usr/libexec/PlistBuddy -c "Set :CFBundleExecutable Review\\ Goose" "out/$(BUNDLE_NAME).app/Contents/Info.plist"
@/usr/libexec/PlistBuddy -c "Add :LSUIElement bool true" "out/$(BUNDLE_NAME).app/Contents/Info.plist" 2>/dev/null || \
/usr/libexec/PlistBuddy -c "Set :LSUIElement true" "out/$(BUNDLE_NAME).app/Contents/Info.plist"
@/usr/libexec/PlistBuddy -c "Add :CFBundleDevelopmentRegion string en" "out/$(BUNDLE_NAME).app/Contents/Info.plist" 2>/dev/null || \
Expand Down Expand Up @@ -158,6 +158,8 @@ install-darwin: app-bundle
@echo "Installing on macOS..."
@echo "Copying $(BUNDLE_NAME).app to /Applications..."
@rm -rf "/Applications/$(BUNDLE_NAME).app"
# old name
@rm -rf "/Applications/Ready to Review.app"
@cp -R "out/$(BUNDLE_NAME).app" "/Applications/"
@echo "Installation complete! $(BUNDLE_NAME) has been installed to /Applications"

Expand Down
2 changes: 1 addition & 1 deletion cmd/goose/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}

// App holds the application state.
type App struct {

Check failure on line 73 in cmd/goose/main.go

View workflow job for this annotation

GitHub Actions / golangci-lint

fieldalignment: struct with 280 pointer bytes could be 216 (govet)
lastSuccessfulFetch time.Time
client *github.Client
turnClient *turn.Client
Expand Down Expand Up @@ -198,7 +198,7 @@
if err != nil {
log.Fatalf("Failed to get cache directory: %v", err)
}
cacheDir = filepath.Join(cacheDir, "ready-to-review")
cacheDir = filepath.Join(cacheDir, "review-goose")
const dirPerm = 0o700 // Only owner can access cache directory
if err := os.MkdirAll(cacheDir, dirPerm); err != nil {
log.Fatalf("Failed to create cache directory: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion cmd/goose/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func settingsDir() (string, error) {
if err != nil {
return "", err
}
return filepath.Join(configDir, "ready-to-review"), nil
return filepath.Join(configDir, "review-goose"), nil
}

// loadSettings loads settings from disk or returns defaults.
Expand Down
Binary file added media/logo-raw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion media/logo.svg

This file was deleted.

Binary file modified media/logo.xcf
Binary file not shown.
Loading