-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more build assets and all notebook checkpoints to ignore * Delete old reports that were accidentally added to the repo * Fix portfolios not bundling * Add mac installer image assets * Update license * Make the code folder hidden in macOS package * Add folder and launcher icons programmatically during build * Change dmg creation tool to create-dmg * Update macOS installation docs * Bump project version * Update macOS installation instruction image links * Fix macOS installation instructions styling * Unify macOS install instructions image size * Point download links to the website vs github * Fix macOS launcher self-quarantine command * Fix routines not launching in packaged apps * Fix .openbb test mode not displaying filenames during test run * Remove file with weird apple character in path
- Loading branch information
Showing
15 changed files
with
111 additions
and
30,534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use framework "Foundation" | ||
use framework "AppKit" | ||
use scripting additions | ||
|
||
-- Get script location | ||
tell application "Finder" | ||
set current_path to POSIX path of (container of (path to me) as alias) | ||
end tell | ||
|
||
-- Set OpenBB Terminal folder icon relative to script location | ||
set sourcePath to current_path & "../../images/openbb_folder_icon.icns" | ||
set destPath to current_path & "macOS_package_assets/OpenBB Terminal" | ||
set imageData to (current application's NSImage's alloc()'s initWithContentsOfFile:sourcePath) | ||
(current application's NSWorkspace's sharedWorkspace()'s setIcon:imageData forFile:destPath options:2) | ||
|
||
-- Set OpenBB Terminal launcher icon relative to script location | ||
set sourcePath to current_path & "../../images/openbb.icns" | ||
set destPath to current_path & "macOS_package_assets/OpenBB Terminal/OpenBB Terminal" | ||
set imageData to (current application's NSImage's alloc()'s initWithContentsOfFile:sourcePath) | ||
(current application's NSWorkspace's sharedWorkspace()'s setIcon:imageData forFile:destPath options:2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.