iimachines / Maya2glTF

Maya to glTF 2.0 exporter
MIT License
319 stars 49 forks source link

Installer for the mac #114

Open fire opened 4 years ago

fire commented 4 years ago

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 commented 3 years ago

Do you need to make mac builds?

ziriax commented 3 years ago

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

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