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

Installer for the mac #114

Open
fire opened this issue Oct 28, 2019 · 2 comments
Open

Installer for the mac #114

fire opened this issue Oct 28, 2019 · 2 comments

Comments

@fire
Copy link
Contributor

fire commented Oct 28, 2019

  • Executable
  • Saved as pkg
  • Asks for admin permissions that moves plugin files to /Users/Shared/Autodesk/maya

Edited:

git clone https://github.com/WonderMediaProductions/Maya2glTF.git maya2gltf_2018
cd maya2gltf_2018
./osx_create_project.sh # Modify for 2018
make -j6 && make -j6 DESTDIR=payload install -j6

git clone https://github.com/WonderMediaProductions/Maya2glTF.git maya2gltf_2019
cd maya2gltf_2019
./osx_create_project.sh # Modify for 2019
make -j6 && make -j6 DESTDIR=payload install -j6

git clone https://github.com/munki/munki-pkg.git
# merge payload folders from maya 2019 and maya 2019 to project directory
# Use option drag to merge folders
munkipkg path/to/package_project_directory

build-info.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>distribution_style</key>
	<false/>
	<key>identifier</key>
	<string>com.github.WonderMediaProductions.pkg.Maya2glTF</string>
	<key>install_location</key>
	<string>/</string>
	<key>name</key>
	<string>Maya2glTF.pkg</string>
	<key>ownership</key>
	<string>recommended</string>
	<key>postinstall_action</key>
	<string>none</string>
	<key>suppress_bundle_relocation</key>
	<true/>
	<key>version</key>
	<string>master</string>
</dict>
</plist>

Edited:

Typos on build script.

@fire
Copy link
Contributor Author

fire commented Aug 11, 2020

Do you need to make mac builds?

@ziriax
Copy link
Contributor

ziriax commented Aug 11, 2020

Would be nice, so people don't have to build from source.

We could also put the binary installer packages in the Autodesk Store...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants