chore: add electron repl

This commit is contained in:
Tienson Qin
2021-01-20 11:34:58 +08:00
parent ca973f6560
commit 9d1d148afe
5 changed files with 26 additions and 1 deletions

View File

@@ -5,3 +5,8 @@
[]
(api/watch :app)
(api/repl :app))
(defn electron-repl
[]
(api/watch :electron)
(api/repl :electron))

View File

@@ -1,5 +1,6 @@
(ns electron.core
(:require [electron.init :refer [init-channel]]
[electron.handler :as handler]
["fs" :as fs]
["path" :as path]
["electron" :refer [BrowserWindow app] :as electron]

View File

@@ -0,0 +1,2 @@
(ns electron.handler
(:require [electron-better-ipc :refer [ipcMain]]))