Skip to content

Commit 44ac1aa

Browse files
committed
fix: fixed path to init
1 parent 4e2955d commit 44ac1aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/Splash.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Splash = () => {
4848
reactSwal.fire(messages.noRemote).then((value) => {
4949
let [url, branch] = value.value;
5050
// run python entrypoint script
51-
eel.init(url, branch, dirValue)
51+
eel.initRepository([url, branch], dirValue)
5252
nextPage()
5353
})
5454
.catch(err => {
@@ -60,7 +60,7 @@ const Splash = () => {
6060
...messages.foundRemote,
6161
html: `<a onclick="window.open('${url}', '${url}')" href="javascript:void()">${url}</a> <br/> <p>${branch}</p>`,
6262
}).then(value => {
63-
eel.init(url, branch, dirValue)
63+
eel.init(dirValue)
6464
nextPage()
6565
})
6666
}

0 commit comments

Comments
 (0)