Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
3a72577f
Commit
3a72577f
authored
12 years ago
by
Aura Linden
Browse files
Options
Downloads
Patches
Plain Diff
Fixes from Oz's merge.
parent
8e99b826
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llvfs/lldir_mac.cpp
+3
-1
3 additions, 1 deletion
indra/llvfs/lldir_mac.cpp
indra/mac_updater/mac_updater.cpp
+2
-2
2 additions, 2 deletions
indra/mac_updater/mac_updater.cpp
with
5 additions
and
3 deletions
indra/llvfs/lldir_mac.cpp
+
3
−
1
View file @
3a72577f
...
@@ -77,7 +77,9 @@ LLDir_Mac::LLDir_Mac()
...
@@ -77,7 +77,9 @@ LLDir_Mac::LLDir_Mac()
boost
::
filesystem
::
path
executablepath
(
*
executablepathstr
);
boost
::
filesystem
::
path
executablepath
(
*
executablepathstr
);
mExecutableFilename
=
executablepath
.
filename
();
# ifndef BOOST_SYSTEM_NO_DEPRECATED
#endif
mExecutableFilename
=
executablepath
.
filename
().
string
();
mExecutableDir
=
executablepath
.
parent_path
().
string
();
mExecutableDir
=
executablepath
.
parent_path
().
string
();
// mAppRODataDir
// mAppRODataDir
...
...
This diff is collapsed.
Click to expand it.
indra/mac_updater/mac_updater.cpp
+
2
−
2
View file @
3a72577f
...
@@ -197,7 +197,7 @@ bool LLMacUpdater::findAppBundleOnDiskImage(const boost::filesystem::path& dir_p
...
@@ -197,7 +197,7 @@ bool LLMacUpdater::findAppBundleOnDiskImage(const boost::filesystem::path& dir_p
{
{
if
(
boost
::
filesystem
::
is_directory
(
itr
->
status
())
)
if
(
boost
::
filesystem
::
is_directory
(
itr
->
status
())
)
{
{
std
::
string
dir_name
=
itr
->
string
();
std
::
string
dir_name
=
itr
->
path
().
string
();
if
(
isApplication
(
dir_name
)
)
if
(
isApplication
(
dir_name
)
)
{
{
if
(
isFSRefViewerBundle
(
dir_name
))
if
(
isFSRefViewerBundle
(
dir_name
))
...
@@ -399,7 +399,7 @@ bool LLMacUpdater::moveApplication (const boost::filesystem::path& app_dir,
...
@@ -399,7 +399,7 @@ bool LLMacUpdater::moveApplication (const boost::filesystem::path& app_dir,
//Grab filename from installdir append to tempdir move set aside_dir to moved path.
//Grab filename from installdir append to tempdir move set aside_dir to moved path.
std
::
string
install_str
=
app_dir
.
parent_path
().
string
();
std
::
string
install_str
=
app_dir
.
parent_path
().
string
();
std
::
string
temp_str
=
temp_dir
.
string
();
std
::
string
temp_str
=
temp_dir
.
string
();
std
::
string
app_str
=
app_dir
.
filename
();
std
::
string
app_str
=
app_dir
.
filename
()
.
string
()
;
aside_dir
=
boost
::
filesystem
::
path
(
boost
::
filesystem
::
operator
/
(
temp_dir
,
app_str
)
);
aside_dir
=
boost
::
filesystem
::
path
(
boost
::
filesystem
::
operator
/
(
temp_dir
,
app_str
)
);
std
::
cout
<<
"Attempting to move "
<<
app_dir
.
string
()
<<
" to "
<<
aside_dir
.
string
()
<<
std
::
endl
;
std
::
cout
<<
"Attempting to move "
<<
app_dir
.
string
()
<<
" to "
<<
aside_dir
.
string
()
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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