Compare commits
3 Commits
58fb1e41c2
...
8d87100373
Author | SHA1 | Date | |
---|---|---|---|
8d87100373 | |||
7b503875ca | |||
ca6727d2b6 |
Binary file not shown.
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 53 KiB |
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 15 KiB |
@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||||
<title>AniTrack</title>
|
<title>AniTrack</title>
|
||||||
|
<link rel="icon" href="%svelte.assets%/favicon.ico" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
@ -177,8 +177,7 @@
|
|||||||
10: "Masterpiece",
|
10: "Masterpiece",
|
||||||
}
|
}
|
||||||
|
|
||||||
const hide = (e) => {
|
const hide = () => {
|
||||||
e.preventDefault();
|
|
||||||
anilistModal.set(false)
|
anilistModal.set(false)
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -196,9 +195,6 @@
|
|||||||
},
|
},
|
||||||
score: currentAniListAnime.data.MediaList.score / 2,
|
score: currentAniListAnime.data.MediaList.score / 2,
|
||||||
showScore: false,
|
showScore: false,
|
||||||
scoreFormat: function () {
|
|
||||||
return `(${this.score.toFixed(1)}/${this.countStars})`
|
|
||||||
},
|
|
||||||
name: "",
|
name: "",
|
||||||
starConfig: {
|
starConfig: {
|
||||||
size: 32,
|
size: 32,
|
||||||
@ -562,7 +558,7 @@
|
|||||||
<TableBodyRow>
|
<TableBodyRow>
|
||||||
<TableBodyCell class="overflow-x-auto">{item.id}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.id}</TableBodyCell>
|
||||||
<TableBodyCell class="overflow-x-auto">{item.service}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.service}</TableBodyCell>
|
||||||
<TableBodyCell class="overflow-x-auto" >{item.progress}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.progress}</TableBodyCell>
|
||||||
<TableBodyCell class="overflow-x-auto">{item.status}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.status}</TableBodyCell>
|
||||||
<TableBodyCell class="overflow-x-auto">{item.startedAt}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.startedAt}</TableBodyCell>
|
||||||
<TableBodyCell class="overflow-x-auto">{item.completedAt}</TableBodyCell>
|
<TableBodyCell class="overflow-x-auto">{item.completedAt}</TableBodyCell>
|
||||||
|
BIN
frontend/src/assets/images/favicon.ico
Normal file
BIN
frontend/src/assets/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
0
frontend/wailsjs/runtime/package.json
Normal file → Executable file
0
frontend/wailsjs/runtime/package.json
Normal file → Executable file
0
frontend/wailsjs/runtime/runtime.d.ts
vendored
Normal file → Executable file
0
frontend/wailsjs/runtime/runtime.d.ts
vendored
Normal file → Executable file
0
frontend/wailsjs/runtime/runtime.js
Normal file → Executable file
0
frontend/wailsjs/runtime/runtime.js
Normal file → Executable file
9
main.go
9
main.go
@ -2,9 +2,11 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"embed"
|
"embed"
|
||||||
|
|
||||||
"github.com/wailsapp/wails/v2"
|
"github.com/wailsapp/wails/v2"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options"
|
"github.com/wailsapp/wails/v2/pkg/options"
|
||||||
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
"github.com/wailsapp/wails/v2/pkg/options/assetserver"
|
||||||
|
"github.com/wailsapp/wails/v2/pkg/options/linux"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed all:frontend/dist
|
//go:embed all:frontend/dist
|
||||||
@ -27,8 +29,13 @@ func main() {
|
|||||||
Bind: []interface{}{
|
Bind: []interface{}{
|
||||||
app,
|
app,
|
||||||
},
|
},
|
||||||
|
Linux: &linux.Options{
|
||||||
|
Icon: []byte("./build/appicon.png"),
|
||||||
|
WindowIsTranslucent: false,
|
||||||
|
WebviewGpuPolicy: linux.WebviewGpuPolicyAlways,
|
||||||
|
ProgramName: "AniTrack",
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println("Error:", err.Error())
|
println("Error:", err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user