Skip to content

Commit

Permalink
mac installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Hämäläinen committed Aug 28, 2021
1 parent ea72f0b commit 0a959a6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ dist/*
build/*
.DS_Store
mac_dist_files/uralicNLP.app/*
mac_dist_files/uralicNLP.dmg
node_modules/*
package-lock.json

3 changes: 2 additions & 1 deletion build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ cp -r build/uralicNLP.app mac_dist_files/
#ln -s /usr/local/bin/cg-conv mac_dist_files/uralicNLP.app/Contents/MacOS/cg-conv
mv mac_dist_files/uralicNLP.app/Contents/MacOS/run mac_dist_files/uralicNLP.app/Contents/MacOS/run2
cp mac_auxiliary_files/Launcher.app/Contents/MacOS/Launcher mac_dist_files/uralicNLP.app/Contents/MacOS/run
cp -r mac_auxiliary_files/Launcher.app/Contents/Resources/* mac_dist_files/uralicNLP.app/Contents/Resources/
cp -r mac_auxiliary_files/Launcher.app/Contents/Resources/* mac_dist_files/uralicNLP.app/Contents/Resources/
appdmg mac_auxiliary_files/dmg.json mac_dist_files/uralicNLP.dmg
10 changes: 10 additions & 0 deletions mac_auxiliary_files/dmg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"title": "UralicNLP",
"icon": "../uralic64.icns",
"background": "dmg_background.png",
"contents": [
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
{ "x": 192, "y": 344, "type": "file", "path": "../mac_dist_files/uralicNLP.app" },
{ "x": 275, "y": 77, "type": "file", "path": "../mac_dist_files/Install Cg.app" }
]
}
Binary file added mac_auxiliary_files/dmg_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a959a6

Please sign in to comment.