auto-git:
[change] main.js [change] preload.js
This commit is contained in:
@@ -65,6 +65,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||
hasReadme: (folderPath) => ipcRenderer.invoke('has-readme', folderPath),
|
||||
generateReadme: (folderPath) => ipcRenderer.invoke('generate-readme', folderPath),
|
||||
pushToGitea: (folderPath) => ipcRenderer.invoke('push-to-gitea', folderPath),
|
||||
initRepo: (folderPath) => ipcRenderer.invoke('init-repo', folderPath),
|
||||
});
|
||||
|
||||
ipcRenderer.on('repo-updated', (_e, folder) => {
|
||||
@@ -73,4 +74,4 @@ ipcRenderer.on('repo-updated', (_e, folder) => {
|
||||
|
||||
ipcRenderer.on('skymode-changed', (_e, val) => {
|
||||
window.dispatchEvent(new CustomEvent('skymode-changed', { detail: val }));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user