ajout app
This commit is contained in:
10
Voltaserve/desktop/renderer.js
Normal file
10
Voltaserve/desktop/renderer.js
Normal file
@ -0,0 +1,10 @@
|
||||
window.onload = () => {
|
||||
window.electronAPI.voltaserve.getFileList("/example").then((result) => {
|
||||
document.getElementById("get-file-list").innerText = JSON.stringify(result);
|
||||
});
|
||||
window.electronAPI.voltaserve
|
||||
.uploadFile("/example/file.txt")
|
||||
.then((result) => {
|
||||
document.getElementById("upload-file").innerText = JSON.stringify(result);
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user