browser-cookie-bridge 1.5.2 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extension-template/manifest.json +1 -1
- package/macos-app/Info.plist +2 -2
- package/macos-app/Resources/BrowserIcons/cursor.png +0 -0
- package/macos-app/Sources/BraveCodexSyncApp/BraveCodexSyncApp.swift +4 -1
- package/macos-app/Sources/BraveCodexSyncApp/SyncModel.swift +8 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"name": "Browser Cookie Bridge",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.4",
|
|
5
5
|
"description": "Transfers selected browser data locally between supported browsers and embedded app browsers.",
|
|
6
6
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5o6lDkXzU/23Jm2QRk4mfuxNnr3VlEIjRHcZr93Gdo7PI7asHJQhigaMGT6UOz0lkaTn1F+TGIPlsJo9GNBSsxbCfxWoBSXcFQFrPolY5LEfKaMtZQQ6eb4UAnp+bbUwb1den4On0piWU47Yzl6i0Jcdg4EG5H1kCSF/6nJsbKgF7OTaR/3drULu40yRvflzSXRhly3UDO7c5mgHJsaMwVV+VILsxbcPOoRINjuo3zDC737HFs67dpf38xF3tjSVL0HURAWKKobMvfABiDfVEm5O0Lvf+57d1Ib12QLT2qtVXNDy3iYwX+w2S0wH2vIMsfvoFPlRdmeqft70kZOqXwIDAQAB",
|
|
7
7
|
"permissions": ["alarms", "cookies", "history"],
|
package/macos-app/Info.plist
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
|
|
11
11
|
<key>CFBundleName</key><string>Browser Cookie Bridge</string>
|
|
12
12
|
<key>CFBundlePackageType</key><string>APPL</string>
|
|
13
|
-
<key>CFBundleShortVersionString</key><string>1.5.
|
|
14
|
-
<key>CFBundleVersion</key><string>
|
|
13
|
+
<key>CFBundleShortVersionString</key><string>1.5.4</string>
|
|
14
|
+
<key>CFBundleVersion</key><string>41</string>
|
|
15
15
|
<key>LSMinimumSystemVersion</key><string>13.5</string>
|
|
16
16
|
<key>NSHighResolutionCapable</key><true/>
|
|
17
17
|
</dict>
|
|
Binary file
|
|
@@ -473,7 +473,10 @@ struct TargetPicker: View {
|
|
|
473
473
|
icon: model.cursorIcon,
|
|
474
474
|
name: "Cursor browser",
|
|
475
475
|
selected: model.selectedTargetID == "cursor",
|
|
476
|
-
disabled: model.isWorking || model.isSyncing
|
|
476
|
+
disabled: model.isWorking || model.isSyncing,
|
|
477
|
+
buttonWidth: 44,
|
|
478
|
+
iconWidth: 40,
|
|
479
|
+
iconHeight: 40
|
|
477
480
|
) { model.selectTarget("cursor") }
|
|
478
481
|
EndpointButton(
|
|
479
482
|
icon: model.codexIcon,
|
|
@@ -197,7 +197,11 @@ final class SyncModel: ObservableObject {
|
|
|
197
197
|
?? appIcon(bundleIdentifier: "com.openai.codex", fallbackSymbol: "terminal")
|
|
198
198
|
}
|
|
199
199
|
var cursorIcon: NSImage {
|
|
200
|
-
|
|
200
|
+
if let url = Bundle.main.url(forResource: "cursor", withExtension: "png", subdirectory: "BrowserIcons"),
|
|
201
|
+
let image = NSImage(contentsOf: url) {
|
|
202
|
+
return image
|
|
203
|
+
}
|
|
204
|
+
return appIcon(bundleIdentifier: "com.todesktop.230313mzl4w4u92", fallbackSymbol: "cursorarrow.square")
|
|
201
205
|
}
|
|
202
206
|
|
|
203
207
|
func browserIcon(_ browser: BrowserChoice) -> NSImage {
|
|
@@ -687,9 +691,11 @@ final class SyncModel: ObservableObject {
|
|
|
687
691
|
private func startGrokBotExport(showMenuBarAlert: Bool) {
|
|
688
692
|
let panel = NSSavePanel()
|
|
689
693
|
panel.title = "Save Grok Bot transfer file"
|
|
690
|
-
|
|
694
|
+
// Base name only: including ".bcbx" here plus allowedContentTypes often makes macOS append a second extension (GrokBot-Import.bcbx.bcbx) and breaks Replace on an existing file.
|
|
695
|
+
panel.nameFieldStringValue = "GrokBot-Import"
|
|
691
696
|
panel.canCreateDirectories = true
|
|
692
697
|
panel.isExtensionHidden = false
|
|
698
|
+
panel.allowsOtherFileTypes = false
|
|
693
699
|
if #available(macOS 12.0, *) {
|
|
694
700
|
panel.allowedContentTypes = [UTType(filenameExtension: "bcbx") ?? .data]
|
|
695
701
|
} else {
|