Skip to content

Commit

Permalink
edit README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Feb 7, 2024
1 parent 263c896 commit 86124ba
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Q: 为什么使用它? A: 使用WallpaperEngine时想要观看视频壁纸需要

### 如何使用

`-p --port 可以设置端口号 默认 8080`
`-p --port 端口号 默认 8080`

`-f --file 可以创意工坊的位置 默认 Z:\SteamLibrary\steamapps\workshop\content\431960`
`-f --file 创意工坊的位置 默认 Z:\SteamLibrary\steamapps\workshop\content\431960`

示例:

Expand Down
1 change: 1 addition & 0 deletions package.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Remove-Item server/src/main/resources/dist -Recurse -Force
New-Item "server/src/main/resources/dist" -ItemType "directory"
cd ui
pnpm install
pnpm run build
cp -r dist/* ../server/src/main/resources/dist
cd ..
Expand Down
13 changes: 13 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

mkdir server/src/main/resources
rm -rf server/src/main/resources/dist
mkdir server/src/main/resources/dist
cd ui
pnpm install
pnpm run build
cp -r dist/* ../server/src/main/resources/dist
cd ..
mvn -B package --file server/pom.xml
rm ./WallpaperVideo-jar-with-dependencies.jar
cp server/target/WallpaperVideo-jar-with-dependencies.jar ./

0 comments on commit 86124ba

Please sign in to comment.