Skip to content

Commit 1df490e

Browse files
committed
Rename bundle to Review Goose
1 parent 2cab0ff commit 1df490e

File tree

8 files changed

+9
-6
lines changed

8 files changed

+9
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ go.work.sum
2727
# env file
2828
.env
2929

30+
/goose
31+
3032
# Editor/IDE
3133
# .idea/
3234
# .vscode/

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
APP_NAME = ready-to-review
2-
BUNDLE_NAME = Ready to Review
1+
APP_NAME = review-goose
2+
BUNDLE_NAME = Review Goose
33
VERSION = 1.0.0
44
BUNDLE_VERSION = 1
55
BUNDLE_ID = dev.codegroove.r2r
@@ -123,7 +123,7 @@ app-bundle: out build-darwin install-appify
123123

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

cmd/goose/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ func main() {
198198
if err != nil {
199199
log.Fatalf("Failed to get cache directory: %v", err)
200200
}
201-
cacheDir = filepath.Join(cacheDir, "ready-to-review")
201+
cacheDir = filepath.Join(cacheDir, "review-goose")
202202
const dirPerm = 0o700 // Only owner can access cache directory
203203
if err := os.MkdirAll(cacheDir, dirPerm); err != nil {
204204
log.Fatalf("Failed to create cache directory: %v", err)

cmd/goose/settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func settingsDir() (string, error) {
2121
if err != nil {
2222
return "", err
2323
}
24-
return filepath.Join(configDir, "ready-to-review"), nil
24+
return filepath.Join(configDir, "review-goose"), nil
2525
}
2626

2727
// loadSettings loads settings from disk or returns defaults.

media/logo-raw.png

1.3 MB
Loading

media/logo.png

1.32 MB
Loading

media/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

media/logo.xcf

-592 KB
Binary file not shown.

0 commit comments

Comments
 (0)