Skip to content

Commit

Permalink
支持macOS版带数据打包
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuanuo committed May 17, 2024
1 parent 2b9a186 commit 9dacf84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-packager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@
<directory>${project.basedir}/../../appxi-dictionary.dd/3</directory>
<targetPath>dict/3</targetPath>
</resource>
<resource>
<directory>${project.basedir}/../../appxi-cbeta.d1</directory>
<targetPath>./</targetPath>
</resource>
</resources>
</packagingResources>
<!-- ///////////////////////////////////////////////////////////////// -->
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/org/appxi/cbeta/app/AppPreloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ static void setupBookcase(Stage primaryStage) {
// 2,优先使用当前目录下的数据包
for (String path : new String[]{
FxHelper.appDir().resolve("bookcase.zip").toString(),
FxHelper.appDir().resolve("cbeta.zip").toString(),
"../cbeta.zip",
"../bookcase.zip",
"cbeta.zip",
Expand Down

0 comments on commit 9dacf84

Please sign in to comment.