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