WIP: feat(workflows): add new build workflows for Windows, Linux, and macOS, and remove obsolete build scripts #17
@ -26,26 +26,25 @@ jobs:
|
||||
ENTITLEMENTS_FILE="LuckyRobots.entitlements"
|
||||
else
|
||||
echo "Creating default entitlements file as LuckyWorld.entitlements"
|
||||
cat > LuckyWorld.entitlements << 'EOF'
|
||||
<?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>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.audio-input</key>
|
||||
<true/>
|
||||
<key>com.apple.security.device.camera</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
EOF
|
||||
# Create entitlements file line by line instead of heredoc
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>' > LuckyWorld.entitlements
|
||||
echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' >> LuckyWorld.entitlements
|
||||
echo '<plist version="1.0">' >> LuckyWorld.entitlements
|
||||
echo '<dict>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.cs.allow-jit</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.cs.allow-unsigned-executable-memory</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.cs.disable-library-validation</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.cs.allow-dyld-environment-variables</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.device.audio-input</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo ' <key>com.apple.security.device.camera</key>' >> LuckyWorld.entitlements
|
||||
echo ' <true/>' >> LuckyWorld.entitlements
|
||||
echo '</dict>' >> LuckyWorld.entitlements
|
||||
echo '</plist>' >> LuckyWorld.entitlements
|
||||
ENTITLEMENTS_FILE="LuckyWorld.entitlements"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user