mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
Rename directory: app -> bridge
This commit is contained in:
17
bridge/packaging/mac/distribution.xml
Normal file
17
bridge/packaging/mac/distribution.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<installer-gui-script minSpecVersion="1">
|
||||
<title>{{applicationName}}</title>
|
||||
<domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="true" />
|
||||
<pkg-ref id="{{packageId}}"/>
|
||||
<options customize="never" require-scripts="false"/>
|
||||
<choices-outline>
|
||||
<line choice="default">
|
||||
<line choice="{{packageId}}"/>
|
||||
</line>
|
||||
</choices-outline>
|
||||
<choice id="default"/>
|
||||
<choice id="{{packageId}}" visible="false">
|
||||
<pkg-ref id="{{packageId}}"/>
|
||||
</choice>
|
||||
<pkg-ref id="{{packageId}}" onConclusion="none">{{componentName}}</pkg-ref>
|
||||
</installer-gui-script>
|
||||
11
bridge/packaging/mac/scripts/postinstall
Executable file
11
bridge/packaging/mac/scripts/postinstall
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# If the target location isn't root, we need to rewrite
|
||||
# the manifest path to point to the user directory.
|
||||
if [ "$2" != "/" ]; then
|
||||
installedManifestPath=$2"/{{{manifestPath}}}/{{{manifestName}}}"
|
||||
sed -i.bak 's,{{{executablePath}}},'$2'{{{executablePath}}},g' "$installedManifestPath"
|
||||
rm "$installedManifestPath.bak"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user