Skip to content

Commit

Permalink
0.0.49
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Mance committed Jun 27, 2020
1 parent 9d3c363 commit 712f7f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
Figgy Changelog:

## 0.0.49
- Forcing mac installs to `/usr/local/bin/figgy`.

There is no good work-around that I have found that prevents issues with automatic upgrade symlink chaining on MacOs.
Essentialy `os.path.dirname(sys.executable)` does not return the directory of the symlink on MacOs
like it does on Windows/Linux. It instead follows the chain of links and returns actual executable's directory. Which
seems like the right thing to do, except I'd prefer to locate the link instead.

## 0.0.48
- More testing for auto-upgrade.

Expand Down
1 change: 0 additions & 1 deletion src/figcli/commands/help/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def install_mac(self, latest_version: FiggyVersionDetails) -> bool:

selection = Input.y_n_input(f"Continue? ", default_yes=True)
else:
install_path = self.upgrade_mgr.install_path
selection = True

if selection:
Expand Down
2 changes: 1 addition & 1 deletion src/figcli/config/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path

VERSION = '0.0.48'
VERSION = '0.0.49'
CLI_NAME = 'figgy'
PROJECT_NAME = 'figgy'

Expand Down
1 change: 0 additions & 1 deletion src/figcli/svcs/upgrade_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def install_onedir(self, install_path: str, latest_version: str, platform: str):

os.symlink(executable_path, install_path)


def _get_executable_path(self):
return

Expand Down

0 comments on commit 712f7f5

Please sign in to comment.