Skip to content

Commit

Permalink
移动 logo.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
freeok committed Mar 31, 2024
1 parent 0d78754 commit f3e94e5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/jpackage-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jpackage \
--name "SoNovel" \
--input "target/jpackage" \
--dest dist \
--icon assets/logo.ico \
--icon input/logo.ico \
--app-version 1.5.3 \
--copyright "Copyright (C) 2024 pcdd. All rights reserved." \
--description "开源搜书神器" \
Expand Down
2 changes: 1 addition & 1 deletion bin/jpackage-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jpackage --version
echo "开始构建exe"

# TODO fix Error: Invalid Option: [target]
jpackage --name "SoNovel" --type "app-image" --input "nobug/jpackage" --dest dist --icon assets/logo.ico --app-version 1.5.3 --copyright "Copyright (C) 2024 pcdd. All rights reserved." --description "开源搜书神器" --vendor "github.com/pcdd-group" --main-jar "app-jar-with-dependencies.jar" --win-console
jpackage --name "SoNovel" --type "app-image" --input "nobug/jpackage" --dest dist --icon input/logo.ico --app-version 1.5.3 --copyright "Copyright (C) 2024 pcdd. All rights reserved." --description "开源搜书神器" --vendor "github.com/pcdd-group" --main-jar "app-jar-with-dependencies.jar" --win-console

# cp: cannot create regular file 'dist/SoNovel': No such file or directory
cp config.ini dist/SoNovel
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<headerType>console</headerType>
<outfile>target/SoNovel/SoNovel.exe</outfile>
<jar>${project.build.directory}/app-jar-with-dependencies.jar</jar>
<icon>${project.basedir}/assets/logo.ico</icon>
<icon>input/logo.ico</icon>
<errTitle>SoNovel</errTitle>
<!-- 崩溃时重新启动 -->
<restartOnCrash>true</restartOnCrash>
Expand Down

0 comments on commit f3e94e5

Please sign in to comment.