Merge pull request 'no message' (#2) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m12s

Reviewed-on: #2
This commit is contained in:
Armamem0t 2025-06-28 23:05:13 +08:00 committed by git.mingliqiye.com
commit 384fbf3cde
Signed by: git.mingliqiye.com
GPG Key ID: F810443113074559
6 changed files with 22 additions and 5390 deletions

3
.gitignore vendored
View File

@ -39,4 +39,5 @@ node_modules
dist
pnpm-lock.yaml
src/main/resources/static
src/main/resources/html/**/*
log

View File

@ -98,24 +98,28 @@ private fun getHash(file: File) {
tasks.withType<Test> {
useJUnitPlatform()
}
tasks.register("rmkdir") {
delete(libDir)
mkdir(libDir)
}
tasks.register<Zip>("sources") {
archiveFileName.set(srcJarName)
destinationDirectory.set(libDir)
from(fileTree(srcDir.toString()))
into(".")
}
tasks.register<Zip>("web") {
archiveFileName.set(webZipName)
destinationDirectory.set(libDir)
from(fileTree(webDir.toString()))
into(".")
}
tasks.bootJar {
archiveFileName.set(jarName)
doFirst {
delete(libDir)
mkdir(libDir)
}
manifest {
attributes["Implementation-GroupId"] = GROUPSID
attributes["Implementation-ArtifactId"] = ARTIFACTID
@ -131,9 +135,8 @@ tasks.bootJar {
}
tasks.register("build-jar") {
dependsOn(tasks["sources"])
dependsOn(tasks["web"])
dependsOn(tasks.bootJar)
dependsOn(tasks["rmkdir"], tasks["sources"], tasks["web"], tasks.bootJar)
mustRunAfter(tasks["rmkdir"], tasks["sources"], tasks["web"], tasks.bootJar)
doLast {
getHash(File(libDir, jarName))
getHash(File(libDir, srcJarName))

View File

@ -2,7 +2,7 @@
<html lang="">
<head>
<meta charset="UTF-8">
<link href="/static/svg/BIklAcGo.svg" rel="icon">
<link href="/static/svg/gZf8M0dh.svg" rel="icon">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Vite App</title>
<script type="module" crossorigin src="/static/js/CcCh4Sgi.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -1,13 +1 @@
import {
__plugin_vue_export_helper_default as e,
createBaseVNode as t,
createElementBlock as n,
openBlock as r,
} from './CcCh4Sgi.js';
const i = {},
a = { class: `about` };
function o(e, i) {
return r(), n(`div`, a, (i[0] ||= [t(`h1`, null, `This is an about page`, -1)]));
}
var s = e(i, [[`render`, o]]);
export { s as default };
import{__plugin_vue_export_helper_default as e,createBaseVNode as t,createElementBlock as n,openBlock as r}from"./CcCh4Sgi.js";const i={},a={class:`about`};function o(e,i){return r(),n(`div`,a,i[0]||=[t(`h1`,null,`This is an about page`,-1)])}var s=e(i,[[`render`,o]]);export{s as default};

View File

@ -1,9 +0,0 @@
<svg viewBox="0 0 1650 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
data-spm-anchor-id="a313x.search_index.0.i10.3b363a81fRIAyG" width="256" height="256">
<path d="M1368.639733 314.94553a283.692506 283.692506 0 0 0-45.17515 3.532214 436.693118 436.693118 0 0 0-282.577071-295.032771 448.219288 448.219288 0 0 0-407.691787 63.022123 38.854347 38.854347 0 0 0-7.993956 55.771791 40.713407 40.713407 0 0 0 55.77179 7.80805 366.792474 366.792474 0 0 1 350.618655-46.290586 356.009928 356.009928 0 0 1 222.343537 269.563653 39.412065 39.412065 0 0 0 18.590597 27.142272 40.713407 40.713407 0 0 0 33.277168 3.718119 201.707975 201.707975 0 0 1 254.877081 122.697938 196.130796 196.130796 0 0 1-123.813374 249.671715 39.226159 39.226159 0 0 0-24.539588 50.194611 40.341595 40.341595 0 0 0 51.124141 23.98187 275.140832 275.140832 0 0 0 183.303284-306.558941 278.858951 278.858951 0 0 0-276.999891-229.036152z"
fill="#9aed7f"/>
<path d="M1368.639733 787.704406a238.703262 238.703262 0 0 1-240.748228 236.286485H240.934134a236.379438 236.379438 0 1 1 0-472.758876 151.69927 151.69927 0 0 1 22.494622 1.115436 402.858232 402.858232 0 0 1 788.984926 10.782546 244.652253 244.652253 0 0 1 217.13817 33.277168 234.985143 234.985143 0 0 1 99.831505 191.483147z"
fill="#9aed7f"/>
<path d="M1100.377422 632.472923a156.532825 156.532825 0 0 0-23.05234 5.763085l-43.873809 13.942948a40.713407 40.713407 0 0 1-33.277168-3.71812 39.412065 39.412065 0 0 1-18.590596-27.142271L973.589552 576.329321a322.175042 322.175042 0 0 0-632.08029-8.737581l-7.064426 34.764416a39.969783 39.969783 0 0 1-42.386561 31.232203l-35.879852-3.346308h-12.827512a157.64826 157.64826 0 1 0-2.974495 315.110615h3.346307l81.61272-1.301341v1.301341h799.395661a161.552286 161.552286 0 0 0 163.411345-151.141551 156.161013 156.161013 0 0 0-54.470448-125.114716 162.667722 162.667722 0 0 0-133.480485-37.181194z"
fill="#cdf8bf"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB