Skip to content

Commit 0c226c6

Browse files
committed
Fix Quit menu API call and update stale Google AI Studio link
1 parent acda7d7 commit 0c226c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ui/main-window.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ class MainWindowUI {
10381038
<input type="password" id="geminiApiKey" placeholder="Enter your Gemini API key"
10391039
class="w-full p-2 bg-gray-800 border border-gray-600 rounded text-white">
10401040
<p class="text-xs text-gray-400 mt-1">
1041-
Get your API key from: <a href="https://makersuite.google.com/app/apikey" target="_blank" class="text-blue-400">Google AI Studio</a>
1041+
Get your API key from: <a href="https://aistudio.google.com/app/apikey" target="_blank" class="text-blue-400">Google AI Studio</a>
10421042
</p>
10431043
</div>
10441044
@@ -1175,8 +1175,8 @@ class MainWindowUI {
11751175
});
11761176

11771177
const quitOption = this.createMenuItem('Quit OpenCluely', 'fa-power-off', () => {
1178-
if (window.electronAPI) {
1179-
window.electronAPI.quitApp();
1178+
if (window.electronAPI && window.electronAPI.quit) {
1179+
window.electronAPI.quit();
11801180
}
11811181
});
11821182

0 commit comments

Comments
 (0)