2024-03-09 02:42:30 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Enter API Key</title>
|
2024-03-09 02:52:10 -05:00
|
|
|
<link rel="stylesheet" href="css/styles.css">
|
2024-03-09 02:42:30 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Enter API Key</h1>
|
|
|
|
<input type="text" id="apiKeyInput" placeholder="API Key">
|
|
|
|
<button id="submitApiKey">Submit</button>
|
|
|
|
<script>
|
|
|
|
const { ipcRenderer } = require('electron');
|
|
|
|
|
|
|
|
document.getElementById('submitApiKey').addEventListener('click', () => {
|
|
|
|
const apiKey = document.getElementById('apiKeyInput').value;
|
|
|
|
ipcRenderer.send('submit-api-key', apiKey);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
2024-03-09 02:52:10 -05:00
|
|
|
</html>
|