add build scripts
This commit is contained in:
parent
c3ee96429c
commit
1d2190d68e
26 changed files with 1327 additions and 6 deletions
31
scripts/_app_scaffolds/mac/myapp.app/Contents/Info.plist
Normal file
31
scripts/_app_scaffolds/mac/myapp.app/Contents/Info.plist
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>bootstrap</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>{APP_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>icon.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>{APP_ID}</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>{APP_BUNDLE}</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>{APP_VERSION}</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>{APP_NAME} {APP_VERSION}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>{APP_MIN_OS}</string>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
5
scripts/_app_scaffolds/mac/myapp.app/Contents/MacOS/bootstrap
Executable file
5
scripts/_app_scaffolds/mac/myapp.app/Contents/MacOS/bootstrap
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# Based on code by https://github.com/malipetek - hey you did a brilliant job!
|
||||
MACOS="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
CONTENTS="$(dirname "$MACOS")"
|
||||
exec "${MACOS}/main" --path="${CONTENTS}/Resources" --enable-extensions=true
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue