mirror of
https://github.com/libretro/ludo.git
synced 2026-11-11 03:01:27 -10:00
Compare commits
19
Commits
master
...
kivutar/fixmsi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55b1aa33ac | ||
|
|
ed88f01462 | ||
|
|
a6a4ddcb07 | ||
|
|
3f64358568 | ||
|
|
9a358b459c | ||
|
|
e5fe1e4091 | ||
|
|
80357fdabc | ||
|
|
8c63b4469d | ||
|
|
52a7602241 | ||
|
|
59d083128e | ||
|
|
a02f3847ba | ||
|
|
66d33c467d | ||
|
|
09c19f36fa | ||
|
|
1440ea421d | ||
|
|
975ea36d5a | ||
|
|
c50b90a7d9 | ||
|
|
028e8aa12c | ||
|
|
73c9af0cba | ||
|
|
0aa78854c0 |
No files matched your search
@@ -4,3 +4,5 @@ settings.json
|
||||
*.app
|
||||
*.dmg
|
||||
cores
|
||||
*.dll
|
||||
*.msi
|
||||
+10
-5
@@ -74,6 +74,10 @@ matrix:
|
||||
os: windows
|
||||
before_install:
|
||||
- choco install make
|
||||
- choco install nuget.commandline
|
||||
- nuget install WiX
|
||||
- export PATH="$PATH:/c/Users/travis/gopath/src/github.com/libretro/ludo/WiX.3.11.1/tools"
|
||||
- go get github.com/mh-cbon/go-msi
|
||||
- wget http://static.kivutar.me/openal-soft-1.19.0-bin.zip
|
||||
- 7z x openal-soft-1.19.0-bin.zip -o/c/Users/travis/openal-soft-1.19.0-bin
|
||||
- export CGO_CFLAGS="-I/c/Users/travis/openal-soft-1.19.0-bin/include/"
|
||||
@@ -88,10 +92,11 @@ matrix:
|
||||
- gocyclo -over 19 $GO_FILES
|
||||
- golint -set_exit_status $(go list ./...)
|
||||
- go build -v -ldflags '-H=windowsgui'
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then mkdir -p ./Ludo-Windows-x86_64-${TRAVIS_TAG:1}/; fi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then cp *.dll ./Ludo-Windows-x86_64-${TRAVIS_TAG:1}/; fi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then wget https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe; fi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then OS="Windows" ARCH=x86_64 VERSION=${TRAVIS_TAG:1} make zip; fi
|
||||
- go-msi check-env
|
||||
- OS="Windows" ARCH=x86_64 VERSION=0.3.3 make msi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then choco install go-msi; fi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then export PATH="$PATH;$WIX/bin"; fi
|
||||
- if [[ -n "$TRAVIS_TAG" ]]; then OS="Windows" ARCH=x86_64 VERSION=${TRAVIS_TAG:1} make msi; fi
|
||||
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
@@ -102,7 +107,7 @@ deploy:
|
||||
- Ludo-Linux-x86_64-${TRAVIS_TAG:1}.tar.gz
|
||||
- Ludo-Linux-arm-${TRAVIS_TAG:1}.tar.gz
|
||||
- Ludo-OSX-x86_64-${TRAVIS_TAG:1}.dmg
|
||||
- Ludo-Windows-x86_64-${TRAVIS_TAG:1}.zip
|
||||
- Ludo-Windows-x86_64-${TRAVIS_TAG:1}.msi
|
||||
on:
|
||||
repo: libretro/ludo
|
||||
tags: true
|
||||
|
||||
@@ -93,5 +93,8 @@ tar: ludo $(SOBJS)
|
||||
cp -r cores $(BUNDLENAME)/
|
||||
tar -zcf $(BUNDLENAME).tar.gz $(BUNDLENAME)\
|
||||
|
||||
msi: ludo.exe $(DLLS)
|
||||
go-msi make --msi $(BUNDLENAME).msi --version=$(VERSION) --arch=x64
|
||||
|
||||
clean:
|
||||
rm -rf $(BUNDLENAME).app ludo wc empty.dmg $(BUNDLENAME).dmg $(BUNDLENAME)-* cores/
|
||||
rm -rf *.app ludo ludo.exe wc *.dmg $(BUNDLENAME)-* *.msi cores/
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"product": "Ludo",
|
||||
"company": "libretro",
|
||||
"license": "COPYING",
|
||||
"upgrade-code": "37fcda1b-c004-4262-82dd-2498f146ba7f",
|
||||
"files": {
|
||||
"guid": "cd3804b7-fd8f-45b2-8119-a2b1c4c7d068",
|
||||
"items": [
|
||||
"ludo.exe",
|
||||
"OpenAL32.dll",
|
||||
"libwinpthread-1.dll"
|
||||
]
|
||||
},
|
||||
"directories": [
|
||||
"assets",
|
||||
"database",
|
||||
"cores"
|
||||
],
|
||||
"shortcuts": {
|
||||
"guid": "5ab52dc2-c638-4662-8284-90d25bc7d3a7",
|
||||
"items": [
|
||||
{
|
||||
"name": "Ludo",
|
||||
"description": "A user friendly libretro frontend",
|
||||
"target": "[INSTALLDIR]\\ludo.exe",
|
||||
"wdir": "INSTALLDIR",
|
||||
"arguments": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"choco": {
|
||||
"description": "Ludo",
|
||||
"project-url": "https://github.com/libretro/ludo",
|
||||
"tags": "libretro",
|
||||
"license-url": "https://github.com/libretro/ludo/blob/master/COPYING"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user