fix
wip fix
This commit is contained in:
@ -355,6 +355,8 @@ func main() {
|
||||
Refresh: refresh,
|
||||
}
|
||||
|
||||
fmt.Println(codeReturn)
|
||||
|
||||
json, err := json.Marshal(codeReturn)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
|
@ -6,6 +6,7 @@ platforms = ["linux", "macOS", "windows"]
|
||||
permissions = [
|
||||
"core:default",
|
||||
"core:window:allow-start-dragging",
|
||||
"core:window:allow-show",
|
||||
"fs:default",
|
||||
"http:default",
|
||||
{ identifier = "http:default", allow = [
|
||||
|
@ -19,9 +19,6 @@ pub fn desktop() {
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
.plugin(tauri_plugin_sharetarget::init())
|
||||
// .plugin(tauri_plugin_dialog::init())
|
||||
// .plugin(tauri_plugin_opener::init())
|
||||
.manage(watcher_state)
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
commands::handle_selected_folder,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 72 B |
@ -63,7 +63,6 @@ export const App = () => {
|
||||
</button>
|
||||
<ImageViewer onSendImage={setProcessingImage} />
|
||||
<ImageStatus processingImage={processingImage} />
|
||||
<ShareTarget />
|
||||
<Router>
|
||||
<Route path="/login" component={Login} />
|
||||
|
||||
|
@ -32,6 +32,8 @@ export const Login: Component = () => {
|
||||
code.toString(),
|
||||
);
|
||||
|
||||
console.log(access, refresh);
|
||||
|
||||
localStorage.setItem("access", access);
|
||||
localStorage.setItem("refresh", refresh);
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { listen } from "@tauri-apps/api/event";
|
||||
import { getCurrentWindow } from "@tauri-apps/api/window";
|
||||
import { type Component, createEffect } from "solid-js";
|
||||
import { sendImage } from "../network";
|
||||
|
||||
|
Reference in New Issue
Block a user