-
Notifications
You must be signed in to change notification settings - Fork 0
/
lp-config.sh
executable file
·65 lines (55 loc) · 2.31 KB
/
lp-config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The name of the resulting executables.
packageName="AsteroidDodge"
# User-friendly package name.
friendlyPackageName="Asteroid Dodge"
# Who made this? (Yes, change this to your name.)
author="Tangent (Rose)"
# Copyright year (ex 2014-2015 or 2015)
copyrightYear="2018-2020"
# A unique identifier for your package.
# (It should be fine to leave this as its default.)
identifier="com.$author.$packageName"
# Current version (of your program)
version="0.4.1"
###### Important! ONLY USE ABSOLUATE PATHS ######
# Where to place the resulting executables.
outputDir="$(pwd)/builds"
# Where the source code is. (This should be where your main.lua file is.)
sourceDir="$(pwd)/src"
# Files to include in ZIP packages. (ReadMe's, licenses, etc.)
includes="$(pwd)/build-includes"
# Where unzipped executables to make packages out of will be kept
# (This is also where LOVE executables will be kept before modifications to make your packages)
win32Dir="$outputDir/win32src"
win64Dir="$outputDir/win64src"
osx10Dir="$outputDir/osx10src"
# Specify what version of love to use
loveVersion="0.10.2"
# Modified love executables (optional)
# (The default values are where the default exe's will be extracted)
win32exe="$win32Dir/love-$loveVersion-win32/love.exe"
win64exe="$win64Dir/love-$loveVersion-win64/love.exe"
# Mac icns files for package icon
# (It's best to just specify the same file for both?
# I don't think both are needed, but I am not very familiar with the Mac system.)
osxIconsDirectory="$osx10Dir/love.app/Contents/Resources"
osxFileIcon="GameIcon.icns"
osxBundleIcon="OS X AppIcon.icns"
# Remove old packages?
removeOld=true
# Allow overwrite? NOT IMPLEMENTED
# If this is false, LovePackaging will quit if you try to build with the same version number twice.
allowOverwrite=false
#NOTE to self: if autoNumberBuilds, this setting doesn't matter
# Auto-number builds?
# An "-buildN" will be added to the end of ZIP package names, with N being the Nth time this project was built.
# (To do this, a build.number file is stored in $outputDir, so watch out for that.)
autoNumberBuilds=false
# Place latest builds in builds/latest?
# (This is a copy, not a move.)
latestBuilds=true
latestBuildsDir="$outputDir/latest"
# Use curl or wget?
# (One of these lines should be commented out, the other not)
#download="curl -o"
download="wget --progress=bar:force -O"