Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DocExplore
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander BURNETT
DocExplore
Commits
6d52c35c
Commit
6d52c35c
authored
6 years ago
by
aburn
Browse files
Options
Downloads
Patches
Plain Diff
Fixed reader startup with custom app name
parent
7676cebf
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/org/interreg/docexplore/reader/ReaderElectronApp.java
+5
-2
5 additions, 2 deletions
src/org/interreg/docexplore/reader/ReaderElectronApp.java
with
5 additions
and
2 deletions
src/org/interreg/docexplore/reader/ReaderElectronApp.java
+
5
−
2
View file @
6d52c35c
...
...
@@ -58,9 +58,12 @@ public class ReaderElectronApp extends DocExploreTool
appDir
=
new
File
(
DocExploreTool
.
getExecutableDir
(),
"readerapp"
);
if
(!
appDir
.
exists
())
appDir
=
new
File
(
DocExplore
.
readerApp
());
}
}
else
if
(
SystemUtils
.
IS_OS_MAC_OSX
)
appDir
=
new
File
(
DocExploreTool
.
getExecutableDir
().
getAbsoluteFile
().
getParentFile
(),
"MacOS"
);
String
app
=
SystemUtils
.
IS_OS_WINDOWS
?
appDir
.
getAbsolutePath
()+
"/electron.exe"
:
SystemUtils
.
IS_OS_MAC_OSX
?
"/Applications/DocExplore.app/Contents/MacOS
/Electron"
:
SystemUtils
.
IS_OS_MAC_OSX
?
appDir
.
getAbsolutePath
()+
"
/Electron"
:
"electron"
;
try
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment