Replace electron API mocks with actual electron API impl (#1535)

* link electron types locally

* Update electronAPI calls

* Fix source validation

* Payload to raw

* nit

* Update electron types
This commit is contained in:
Chenlei Hu
2024-11-13 17:20:18 -05:00
committed by GitHub
parent 82d00a1bcf
commit acba6097e0
8 changed files with 37 additions and 31 deletions

View File

@@ -77,8 +77,7 @@ const pathError = defineModel<string>('pathError', { required: true })
const appData = ref('')
const appPath = ref('')
// TODO: Implement the actual electron API.
const electron = electronAPI() as any
const electron = electronAPI()
// Get system paths on component mount
onMounted(async () => {