travis win
This commit is contained in:
parent
8c8cf44ed6
commit
225786e07f
|
@ -1,6 +1,6 @@
|
||||||
os:
|
os:
|
||||||
- osx
|
# - osx
|
||||||
- linux
|
# - linux
|
||||||
- windows
|
- windows
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
|
@ -25,5 +25,5 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: cutls/TheDesk
|
repo: cutls/TheDesk
|
||||||
tags: false
|
tags: true
|
||||||
all_branches: true
|
all_branches: true
|
|
@ -77,7 +77,9 @@ builder.build({
|
||||||
config: pref
|
config: pref
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
console.log("Done on "+os)
|
||||||
if (os == "win32") {
|
if (os == "win32") {
|
||||||
|
console.log("Windows")
|
||||||
fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk-ia32.exe');
|
fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk-ia32.exe');
|
||||||
fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe');
|
fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe');
|
||||||
retry()
|
retry()
|
||||||
|
@ -87,6 +89,7 @@ builder.build({
|
||||||
// handle error
|
// handle error
|
||||||
})
|
})
|
||||||
function retry(){
|
function retry(){
|
||||||
|
console.log("Windows x64")
|
||||||
const targetsAlt = new Map();
|
const targetsAlt = new Map();
|
||||||
const archToTypeAlt = new Map();
|
const archToTypeAlt = new Map();
|
||||||
targetsAlt.set(Platform.WINDOWS, archToTypeAlt);
|
targetsAlt.set(Platform.WINDOWS, archToTypeAlt);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user