Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license for mac install #52

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_assets/macOS/Packaging_Instructions_macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ a) Create a New Project ... set the template as "Distribution".\
b) Under the Packages, either edit the existing package or create a new one. Set "Identifier" to com.morpheus.pkg.MORAgents, set the Payload to have MORAgents.app under /Applications, then under Scripts, add the preinstall.sh and postinstall.sh from the downloaded files.\
c) Create a new Package, then under Payload, add the Docker Desktop Mac Install under /Applications\
d) Create a new Package, then under preinstall scripts, add the preinstall_ollama.sh script from the downloaded files.\
e) Navigate to Project, then set Presentation to have the welcome.html file and other settings to present the installer.
e) Navigate to Project, then set Presentation to have the welcome.html and license.html files and other settings to present the installer.

41 changes: 41 additions & 0 deletions build_assets/macOS/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
line-height: 1.6;
padding: 20px;
}
h1 {
color: #333;
}
.license {
background-color: #f8f8f8;
border: 1px solid #ddd;
padding: 15px;
margin-top: 20px;
white-space: pre-wrap;
}
</style>
</head>
<body>
<h1>License Agreement</h1>
<p>Please read the following License Agreement carefully. By continuing, you acknowledge that you have read and agreed to the License.</p>

<div class="license">
MIT License

Copyright (c) 2024 Liquid Tensor LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</div>

<p>By clicking Continue, installing, and/or using the MORagents software you accept the terms of the License agreement.</p>
</body>
</html>