Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
signature_util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanyu
signature_util
Commits
6553fe9c
Commit
6553fe9c
authored
Nov 03, 2020
by
huanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变更获取路径方式
parent
9c22bae5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
pom.xml
pom.xml
+1
-1
FileCoinUtils.java
src/main/java/com/blocksignature/utils/FileCoinUtils.java
+2
-1
No files found.
pom.xml
View file @
6553fe9c
...
...
@@ -17,7 +17,7 @@
</plugins>
</build>
<groupId>
com.signature.block.util
</groupId>
<version>
TEST-0.0.
3
-SNAPSHOT
</version>
<version>
TEST-0.0.
4
-SNAPSHOT
</version>
<properties>
<java.version>
1.8
</java.version>
...
...
src/main/java/com/blocksignature/utils/FileCoinUtils.java
View file @
6553fe9c
...
...
@@ -20,8 +20,9 @@ public class FileCoinUtils {
private
static
final
ObjectMapper
MAPPER
=
new
ObjectMapper
();
static
{
String
rootPath
=
FileCoinUtils
.
class
.
getResource
(
"/"
).
getPath
();
try
{
String
rootPath
=
new
File
(
""
).
getCanonicalPath
();
if
(
isWin
)
{
String
configFilePath
=
rootPath
+
File
.
separator
+
WIN_DLL
;
File
configFile
=
new
File
(
configFilePath
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment